Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ import torch.nn.functional as F
|
|
5 |
|
6 |
from transformers import XGLMTokenizer, XGLMForCausalLM
|
7 |
|
8 |
-
tokenizer = XGLMTokenizer.from_pretrained("facebook/xglm-
|
9 |
-
model = XGLMForCausalLM.from_pretrained("facebook/xglm-
|
10 |
|
11 |
data_samples = {
|
12 |
'en': [
|
|
|
5 |
|
6 |
from transformers import XGLMTokenizer, XGLMForCausalLM
|
7 |
|
8 |
+
tokenizer = XGLMTokenizer.from_pretrained("facebook/xglm-2.9B")
|
9 |
+
model = XGLMForCausalLM.from_pretrained("facebook/xglm-2.9B")
|
10 |
|
11 |
data_samples = {
|
12 |
'en': [
|