Update README.md
Browse files
README.md
CHANGED
@@ -29,7 +29,7 @@ tokenizer = AutoTokenizer.from_pretrained('ahmed-ai/galen')
|
|
29 |
model_pipeline = pipeline(task="text-generation", model='ahmed-ai/galen', tokenizer=tokenizer, max_length=256, temperature=0.5, top_p=0.6)
|
30 |
```
|
31 |
```py
|
32 |
-
result = model_pipeline('What is squamous carcinoma')
|
33 |
#print the generated text
|
34 |
print(result[0]['generated_text'][len(prompt):])
|
35 |
```
|
|
|
29 |
model_pipeline = pipeline(task="text-generation", model='ahmed-ai/galen', tokenizer=tokenizer, max_length=256, temperature=0.5, top_p=0.6)
|
30 |
```
|
31 |
```py
|
32 |
+
result = model_pipeline('What is squamous cell carcinoma')
|
33 |
#print the generated text
|
34 |
print(result[0]['generated_text'][len(prompt):])
|
35 |
```
|