Downloads · 30 days
70
8% of all-time downloads
rootsec1/gemma-2B-inst-aipi
gemma-2B-inst-aipi is a text generation model from rootsec1. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This repository contains the gemma-2B model fine-tuned on the sail/symbolic-instruction-tuning dataset. The model is designed to interpret and execute symbolic instructions with improved accuracy and efficiency.
Downloads · 30 days
70
8% of all-time downloads
All-time downloads
835
Public
Parameters
2.5B
15.1 GB on disk
Likes
2
Public
Click a slice to open those files.
.gguf10 GB · 67%
From the Hugging Face model README
This repository contains the gemma-2B model fine-tuned on the sail/symbolic-instruction-tuning dataset. The model is designed to interpret and execute symbolic instructions with improved accuracy and efficiency.
The gemma-2B model, originally known for its robust language understanding capabilities, has been fine-tuned to enhance its performance on symbolic instruction data. This involves retraining the model on the sail/symbolic-instruction-tuning dataset, which comprises a diverse range of instructional data that tests a model's ability to follow abstract and complex directives.
The motivation behind fine-tuning gemma-2B on this particular dataset is to bridge the gap between language understanding and execution in a symbolic context. This has wide applications in areas such as code generation, automated reasoning, and more sophisticated AI instruction following.
To use this model, you'll need to have an account on Hugging Face and the transformers library installed. You can install the library using pip:
pip install transformers
Once installed, you can use the following code to load and use the model:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "your-huggingface-username/gemma-2B-fine-tuned"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
# Now you can use the model for inference
input_text = "Your symbolic instruction here"
input_ids = tokenizer.encode(input_text, return_tensors='pt')
# Generate the output
output = model.generate(input_ids)
print(tokenizer.decode(output[0], skip_special_tokens=True))
The model was fine-tuned using the following process:
sail/symbolic-instruction-tuning dataset was preprocessed to conform with the input format required by gemma-2B.training_script.py file.