fix model path

This commit is contained in:
Suraj Patil 2021-09-22 15:30:18 +00:00 committed by huggingface-web
parent d3109d20ae
commit ae77a5576a
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@ This model can be easily loaded using the `AutoModelForCausalLM` functionality:
```python
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("gpt2")
model = AutoModelForCausalLM.from_pretrained("gpt-j-6B")
tokenizer = AutoTokenizer.from_pretrained("EleutherAI/gpt-j-6B")
model = AutoModelForCausalLM.from_pretrained("EleutherAI/gpt-j-6B")
```
### Limitations and Biases