stephenlzc
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -75,5 +75,15 @@ widget:
|
|
75 |
- [llm-wizard/alpaca-gpt4-data-zh](https://huggingface.co/datasets/llm-wizard/alpaca-gpt4-data-zh)
|
76 |
- [stephenlzc/stf-alpaca](https://huggingface.co/datasets/stephenlzc/stf-alpaca)
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
###
|
79 |
[<img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=chicongliau&button_colour=40DCA5&font_colour=ffffff&font_family=Poppins&outline_colour=000000&coffee_colour=FFDD00" width="200"/>](https://www.buymeacoffee.com/chicongliau)
|
|
|
75 |
- [llm-wizard/alpaca-gpt4-data-zh](https://huggingface.co/datasets/llm-wizard/alpaca-gpt4-data-zh)
|
76 |
- [stephenlzc/stf-alpaca](https://huggingface.co/datasets/stephenlzc/stf-alpaca)
|
77 |
|
78 |
+
|
79 |
+
### Usage
|
80 |
+
```python
|
81 |
+
from transformers import pipeline
|
82 |
+
|
83 |
+
qa_model = pipeline("question-answering", model='stephenlzc/Mistral-7B-v0.3-Chinese-Chat-uncensored')
|
84 |
+
question = "How to make girlfreind laugh? please answer in Chinese."
|
85 |
+
qa_model(question = question)
|
86 |
+
```
|
87 |
+
|
88 |
###
|
89 |
[<img src="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=chicongliau&button_colour=40DCA5&font_colour=ffffff&font_family=Poppins&outline_colour=000000&coffee_colour=FFDD00" width="200"/>](https://www.buymeacoffee.com/chicongliau)
|