Update README.md
Browse files
README.md
CHANGED
@@ -73,13 +73,13 @@ from dartrs.dartrs import DartTokenizer
|
|
73 |
from dartrs.utils import get_generation_config
|
74 |
from dartrs.v2 import (
|
75 |
compose_prompt,
|
76 |
-
|
77 |
V2Model,
|
78 |
)
|
79 |
import time
|
80 |
import os
|
81 |
MODEL_NAME = "p1atdev/dart-v2-base"
|
82 |
-
model =
|
83 |
tokenizer = DartTokenizer.from_pretrained(MODEL_NAME)
|
84 |
config = get_generation_config(
|
85 |
prompt=compose_prompt(
|
|
|
73 |
from dartrs.utils import get_generation_config
|
74 |
from dartrs.v2 import (
|
75 |
compose_prompt,
|
76 |
+
MistralModel,
|
77 |
V2Model,
|
78 |
)
|
79 |
import time
|
80 |
import os
|
81 |
MODEL_NAME = "p1atdev/dart-v2-base"
|
82 |
+
model = MistralModel.from_pretrained(MODEL_NAME)
|
83 |
tokenizer = DartTokenizer.from_pretrained(MODEL_NAME)
|
84 |
config = get_generation_config(
|
85 |
prompt=compose_prompt(
|