初始化项目,由ModelHub XC社区提供模型
Model: acharkq/MoLlama Source: Original Platform
This commit is contained in:
8
README.md
Normal file
8
README.md
Normal file
@@ -0,0 +1,8 @@
|
||||
Load the model and the tokenizer with the following script:
|
||||
|
||||
```python
|
||||
llm = LlamaForCausalLM.from_pretrained('acharkq/MoLlama')
|
||||
tokenizer = AutoTokenizer.from_pretrained('acharkq/MoLlama')
|
||||
tokenizer.add_bos_token = True
|
||||
tokenizer.add_eos_token = True
|
||||
```
|
||||
Reference in New Issue
Block a user