danielrcardenas
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -34,15 +34,6 @@ df_sampled_code['input_ids'] = tokenizer(df_sampled_code['prompt'].tolist())['in
|
|
34 |
|
35 |
```
|
36 |
|
37 |
-
or with a `pipeline`:
|
38 |
-
|
39 |
-
```Python
|
40 |
-
from transformers import pipeline
|
41 |
-
|
42 |
-
pipe = pipeline("text-generation", model="codeparrot/codeparrot-small")
|
43 |
-
outputs = pipe("def hello_world():")
|
44 |
-
```
|
45 |
-
|
46 |
## Training
|
47 |
|
48 |
The model was trained on the cleaned [CodeParrot 🦜 dataset](https://huggingface.co/datasets/codeparrot/codeparrot-clean) with the following settings:
|
|
|
34 |
|
35 |
```
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
## Training
|
38 |
|
39 |
The model was trained on the cleaned [CodeParrot 🦜 dataset](https://huggingface.co/datasets/codeparrot/codeparrot-clean) with the following settings:
|