初始化项目,由ModelHub XC社区提供模型
Model: anwgpt/anwgpt4.1-base Source: Original Platform
This commit is contained in:
18
README.md
Normal file
18
README.md
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
license: mit
|
||||
language:
|
||||
- en
|
||||
library_name: transformers
|
||||
---
|
||||
# ANWGPT-4.1
|
||||
|
||||
## How do use the model
|
||||
```py
|
||||
# Use a pipeline as a high-level helper
|
||||
from transformers import pipeline
|
||||
|
||||
pipe = pipeline("text-generation", model="anwgpt/anwgpt4.1-base")
|
||||
|
||||
# Example of text generation (you can modify the input text)
|
||||
print(pipe("The sky is blue because"))
|
||||
```
|
||||
Reference in New Issue
Block a user