初始化项目,由ModelHub XC社区提供模型
Model: varundevmishra09/My_Model Source: Original Platform
This commit is contained in:
25
README.md
Normal file
25
README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
license: apache-2.0
|
||||
base_model: mistralai/Mistral-7B-v0.1
|
||||
tags:
|
||||
- mistral
|
||||
- fine-tuned
|
||||
- unsloth
|
||||
- text-generation
|
||||
pipeline_tag: text-generation
|
||||
---
|
||||
|
||||
# Mistral Fine-Tuned Model
|
||||
|
||||
## Description
|
||||
This is a fine-tuned version of Mistral 7B using Unsloth.
|
||||
|
||||
## Usage
|
||||
|
||||
```python
|
||||
from transformers import AutoTokenizer, AutoModelForCausalLM
|
||||
|
||||
model_id = "varundevmishra09/mistral-finetuned"
|
||||
|
||||
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
||||
model = AutoModelForCausalLM.from_pretrained(model_id)
|
||||
Reference in New Issue
Block a user