Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
marcopoli authored May 10, 2024
1 parent 5bec6ff commit 51f05f7
Showing 1 changed file with 2 additions and 256 deletions.
258 changes: 2 additions & 256 deletions use_examples/LLama_3_for_Sentiment_Analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -759,43 +759,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"id": "Cv4lLMHmVujf",
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "Cv4lLMHmVujf",
"outputId": "94f93c10-2734-40b5-ad8c-29e1e4621d09"
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n",
" _| _| _| _| _|_|_| _|_|_| _|_|_| _| _| _|_|_| _|_|_|_| _|_| _|_|_| _|_|_|_|\n",
" _| _| _| _| _| _| _| _|_| _| _| _| _| _| _| _|\n",
" _|_|_|_| _| _| _| _|_| _| _|_| _| _| _| _| _| _|_| _|_|_| _|_|_|_| _| _|_|_|\n",
" _| _| _| _| _| _| _| _| _| _| _|_| _| _| _| _| _| _| _|\n",
" _| _| _|_| _|_|_| _|_|_| _|_|_| _| _| _|_|_| _| _| _| _|_|_| _|_|_|_|\n",
"\n",
" To login, `huggingface_hub` requires a token generated from https://huggingface.co/settings/tokens .\n",
"Enter your token (input will not be visible): \n",
"Add token as git credential? (Y/n) n\n",
"Token is valid (permission: read).\n",
"Your token has been saved to /root/.cache/huggingface/token\n",
"Login successful\n"
]
}
],
"source": [
"!huggingface-cli login"
]
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": null,
"id": "9dc75b57",
"metadata": {
"colab": {
Expand Down Expand Up @@ -986,225 +950,7 @@
},
"tags": []
},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "fa5bd209f5064666ae99d63a52b56b89",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"config.json: 0%| | 0.00/757 [00:00<?, ?B/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "2d88f8936ed84d389d4cacf372a9cc92",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"model.safetensors.index.json: 0%| | 0.00/23.9k [00:00<?, ?B/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "aba39584d18644d1bfe5ec5b5e62a414",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Downloading shards: 0%| | 0/7 [00:00<?, ?it/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "586a32cd7ea24b90ae16b856dc7bbf76",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"model-00001-of-00007.safetensors: 0%| | 0.00/4.94G [00:00<?, ?B/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "2460bc971b7845808c9d18246749ca40",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"model-00002-of-00007.safetensors: 0%| | 0.00/5.00G [00:00<?, ?B/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "c71d41dc81f64fbcb5281e02d7a2a093",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"model-00003-of-00007.safetensors: 0%| | 0.00/4.83G [00:00<?, ?B/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "e05ff7d2b0d741828760cc3b6a480768",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"model-00004-of-00007.safetensors: 0%| | 0.00/5.00G [00:00<?, ?B/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "0741b41a3522458cabbbb6565391a623",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"model-00005-of-00007.safetensors: 0%| | 0.00/5.00G [00:00<?, ?B/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "9dd6c69eed9743f7a553769749a8f319",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"model-00006-of-00007.safetensors: 0%| | 0.00/4.19G [00:00<?, ?B/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "a79cb322c20843129c94b1a3ea93b398",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"model-00007-of-00007.safetensors: 0%| | 0.00/1.05G [00:00<?, ?B/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "a73dded2f6d94a0c986de2bc059d36c8",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"Loading checkpoint shards: 0%| | 0/7 [00:00<?, ?it/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "3134fed3f86b4013bd9c206e052fc87d",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"generation_config.json: 0%| | 0.00/130 [00:00<?, ?B/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "9d1a7e4eb5594a0b803e07cf842987b5",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"tokenizer_config.json: 0%| | 0.00/50.9k [00:00<?, ?B/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "4d65c30d14024a8d937cff91264fbceb",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"tokenizer.json: 0%| | 0.00/9.08M [00:00<?, ?B/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "eca58a348652465a9a844545eaca3736",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"special_tokens_map.json: 0%| | 0.00/301 [00:00<?, ?B/s]"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.\n"
]
}
],
"outputs": [],
"source": [
"model_name = \"swap-uniba/LLaMAntino-3-ANITA-8B-Inst-DPO-ITA\"\n",
"\n",
Expand Down

0 comments on commit 51f05f7

Please sign in to comment.