Update README.md
Browse files
README.md
CHANGED
@@ -6,6 +6,7 @@ licence:
|
|
6 |
- MIT
|
7 |
tags:
|
8 |
- galician
|
|
|
9 |
- gpt2
|
10 |
license: mit
|
11 |
inference:
|
@@ -163,7 +164,7 @@ from transformers import pipeline, AutoTokenizer, AutoModelForCausalLM
|
|
163 |
token_HF=""#Obter na páxina de HuggingFace
|
164 |
input_text = "Hoxe fai un bo día. O sol "
|
165 |
|
166 |
-
model_id = "Nos-PT/
|
167 |
tokenizer = AutoTokenizer.from_pretrained(model_id, use_auth_token=token_HF)
|
168 |
model = AutoModelForCausalLM.from_pretrained(model_id, use_auth_token=token_HF)
|
169 |
generator = pipeline(
|
|
|
6 |
- MIT
|
7 |
tags:
|
8 |
- galician
|
9 |
+
- portuguese
|
10 |
- gpt2
|
11 |
license: mit
|
12 |
inference:
|
|
|
164 |
token_HF=""#Obter na páxina de HuggingFace
|
165 |
input_text = "Hoxe fai un bo día. O sol "
|
166 |
|
167 |
+
model_id = "Nos-PT/Carvalho_pt-gl-1.3B"
|
168 |
tokenizer = AutoTokenizer.from_pretrained(model_id, use_auth_token=token_HF)
|
169 |
model = AutoModelForCausalLM.from_pretrained(model_id, use_auth_token=token_HF)
|
170 |
generator = pipeline(
|