Spaces:
Runtime error
Runtime error
update
Browse files
architectures/incoder.txt
CHANGED
@@ -13,7 +13,7 @@ So in addition to program synthesis (via left-to-right generation), InCoder can
|
|
13 |
|
14 |
In the code generation demo we use InCoder 1.3B.
|
15 |
|
16 |
-
You can load the model and tokenizer directly from
|
17 |
|
18 |
```python
|
19 |
from transformers import AutoTokenizer, AutoModelWithLMHead
|
@@ -26,7 +26,7 @@ outputs = model(**inputs)
|
|
26 |
|
27 |
```
|
28 |
|
29 |
-
Or you can use a pipeline
|
30 |
|
31 |
```python
|
32 |
from transformers import pipeline
|
|
|
13 |
|
14 |
In the code generation demo we use InCoder 1.3B.
|
15 |
|
16 |
+
You can load the model and tokenizer directly from `transformers`:
|
17 |
|
18 |
```python
|
19 |
from transformers import AutoTokenizer, AutoModelWithLMHead
|
|
|
26 |
|
27 |
```
|
28 |
|
29 |
+
Or you can use a `pipeline`:
|
30 |
|
31 |
```python
|
32 |
from transformers import pipeline
|