Update README.md
Browse files
README.md
CHANGED
@@ -19,9 +19,9 @@ The codebase for APUS-xDAN-4.0-MOE is integrated into the latest Hugging Face tr
|
|
19 |
Copy code
|
20 |
Usage llama.cpp
|
21 |
|
22 |
-
Usage
|
23 |
|
24 |
-
|
25 |
import torch
|
26 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
27 |
|
@@ -49,8 +49,7 @@ inputs = {
|
|
49 |
}
|
50 |
outputs = model.generate(**inputs)
|
51 |
print(outputs)
|
52 |
-
|
53 |
-
|
54 |
License
|
55 |
|
56 |
APUS-xDAN-4.0-MOE is distributed under the LLAMA 2 Community License, Copyright (c) Meta Platforms, Inc. All Rights Reserved.
|
|
|
19 |
Copy code
|
20 |
Usage llama.cpp
|
21 |
|
22 |
+
## Usage
|
23 |
|
24 |
+
```python
|
25 |
import torch
|
26 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
27 |
|
|
|
49 |
}
|
50 |
outputs = model.generate(**inputs)
|
51 |
print(outputs)
|
52 |
+
```
|
|
|
53 |
License
|
54 |
|
55 |
APUS-xDAN-4.0-MOE is distributed under the LLAMA 2 Community License, Copyright (c) Meta Platforms, Inc. All Rights Reserved.
|