Update README.md
Browse files
README.md
CHANGED
@@ -8,7 +8,7 @@ widget:
|
|
8 |
- text: 'ஒரு ஊரிலே ஒரு காக்கைக்கு'
|
9 |
|
10 |
---
|
11 |
-
#
|
12 |
|
13 |
This repository is created as part of the Flax/Jax community week by Huggingface. The aim of this project is to pretrain a language model using GPT-2 specifically for Tamil language.
|
14 |
|
@@ -57,7 +57,7 @@ python src/convert_flax_to_pytorch.py
|
|
57 |
- Use the following snippet to perform language generation,
|
58 |
```python
|
59 |
>>> from transformers import AutoTokenizer, AutoModelWithLMHead, pipeline
|
60 |
-
>>> model_name = '
|
61 |
>>> model = AutoModelWithLMHead.from_pretrained(model_name)
|
62 |
>>> tokenizer = AutoTokenizer.from_pretrained(model_name)
|
63 |
>>> set_seed(42)
|
|
|
8 |
- text: 'ஒரு ஊரிலே ஒரு காக்கைக்கு'
|
9 |
|
10 |
---
|
11 |
+
# Tamil-Transformer
|
12 |
|
13 |
This repository is created as part of the Flax/Jax community week by Huggingface. The aim of this project is to pretrain a language model using GPT-2 specifically for Tamil language.
|
14 |
|
|
|
57 |
- Use the following snippet to perform language generation,
|
58 |
```python
|
59 |
>>> from transformers import AutoTokenizer, AutoModelWithLMHead, pipeline
|
60 |
+
>>> model_name = 'Abinesh/Tamil-Transformer'
|
61 |
>>> model = AutoModelWithLMHead.from_pretrained(model_name)
|
62 |
>>> tokenizer = AutoTokenizer.from_pretrained(model_name)
|
63 |
>>> set_seed(42)
|