Downloads · 30 days
706
4% of all-time downloads
chillies/mistral-7b-ielts-evaluator-q4
mistral-7b-ielts-evaluator-q4 is a machine learning model from chillies. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
[](https://huggingface.co/username/mistral-7b-ielts-evaluator)
Downloads · 30 days
706
4% of all-time downloads
All-time downloads
20K
Public
Repo size
4.4 GB
Likes
18
Public
Click a slice to open those files.
.gguf4.4 GB · 100%
From the Hugging Face model README
mistral-7b-ielts-evaluator is a fine-tuned version of Mistral 7B, specifically trained for evaluating IELTS Writing Task 2 essays. This model provides detailed feedback and scoring for IELTS essays, helping students improve their writing skills.
To use this model, you will need to install the following dependencies:
pip install transformers
pip install torch # or tensorflow depending on your preference
Here is how you can load and use the model in your code:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("username/mistral-7b-ielts-evaluator")
model = AutoModelForSequenceClassification.from_pretrained("username/mistral-7b-ielts-evaluator")
# Example usage
essay = "Some people believe that it is better to live in a city while others argue that living in the countryside is preferable. Discuss both views and give your own opinion."
inputs = tokenizer(essay, return_tensors="pt", padding=True, truncation=True)
outputs = model(**inputs)
# Assuming the model outputs a score
score = outputs.logits.argmax(dim=-1).item()
print(f"IELTS Task 2 Evaluation Score: {score}")
Provide example code for performing inference with your model:
# Example inference
essay = "Some people believe that it is better to live in a city while others argue that living in the countryside is preferable. Discuss both views and give your own opinion."
inputs = tokenizer(essay, return_tensors="pt", padding=True, truncation=True)
outputs = model(**inputs)
# Assuming the model outputs a score
score = outputs.logits.argmax(dim=-1).item()
print(f"IELTS Task 2 Evaluation Score: {score}")
If your model can be trained further, provide instructions for training:
# Example training code
from transformers import Trainer, TrainingArguments
training_args = TrainingArguments(
output_dir="./results",
evaluation_strategy="epoch",
per_device_train_batch_size=8,
per_device_eval_batch_size=8,
num_train_epochs=3,
weight_decay=0.01,
)
trainer = Trainer(
model=model,
args=training_args,
train_dataset=train_dataset,
eval_dataset=eval_dataset,
)
trainer.train()
The model was fine-tuned on a dataset of IELTS Writing Task 2 essays, which includes a diverse range of topics and responses. The dataset is labeled with scores and feedback to train the model effectively.
The model was fine-tuned using a standard training approach, optimizing for accurate scoring and feedback generation. Training was conducted on [describe hardware, e.g., GPUs, TPUs] over [number of epochs] epochs with [any relevant hyperparameters].
The model was evaluated using the following metrics:
The performance of mistral-7b-ielts-evaluator was benchmarked against other essay evaluation models, demonstrating superior accuracy and feedback quality in the IELTS Writing Task 2 domain.
While mistral-7b-ielts-evaluator is highly effective, it may have limitations in the following areas:
We welcome contributions! Please see our contributing guidelines for more information on how to contribute to this project.
This model is licensed under the MIT License.
We would like to thank the contributors and the creators of the datasets used for training this model.
### Tips for Completing the Template
1. **Replace placeholders** (like `username`, `training data`, `evaluation metrics`) with your actual data.
2. **Include any additional information** specific to your model or training process.
3. **Keep the document updated** as the model evolves or more information becomes available.