laurabernardy
commited on
Commit
·
aed167b
1
Parent(s):
e9b6680
Update README.md
Browse files
README.md
CHANGED
@@ -39,5 +39,15 @@ with Batch size 4
|
|
39 |
for 109 hours
|
40 |
for 30 epochs
|
41 |
|
|
|
|
|
|
|
42 |
|
43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
for 109 hours
|
40 |
for 30 epochs
|
41 |
|
42 |
+
## Usage
|
43 |
+
```python
|
44 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
45 |
|
46 |
+
tokenizer = AutoTokenizer.from_pretrained("laurabernardy/LuxGPT2", use_auth_token=True)
|
47 |
+
|
48 |
+
model = AutoModelForCausalLM.from_pretrained("laurabernardy/LuxGPT2", use_auth_token=True)
|
49 |
+
```
|
50 |
+
|
51 |
+
##Limitations and Biases
|
52 |
+
|
53 |
+
See the [GPT2 model card](https://huggingface.co/gpt2) for considerations on limitations and bias. See the [GPT2 documentation](https://huggingface.co/transformers/model_doc/gpt2.html) for details on GPT2.
|