Run this model with HF Jobs
Run bngomez/adaption_agentic_conscious_reasoning on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/bngomez/adaption_agentic_conscious_reasoning. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/bngomez/adaption_agentic_conscious_reasoning on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use bngomez/adaption_agentic_conscious_reasoning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use bngomez/adaption_agentic_conscious_reasoning with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("mistralai/Mixtral-8x7B-Instruct-v0.1") model = PeftModel.from_pretrained(base_model, "bngomez/adaption_agentic_conscious_reasoning") - Notebooks
- Google Colab
- Kaggle
adaption_agentic_conscious_reasoning
Model Training
A LORA adapter for mistralai/Mixtral-8x7B-Instruct-v0.1. This model was trained with SFT using Adaption's AutoScientist on the agentic_conscious_reasoning dataset.
AutoScientist Config
{
"job_id": "0de88ebb-5d00-4be9-8957-133ecd63c769",
"training_experiment_id": "65d6f6ff-43a8-40b2-8f05-d6588fd70120",
"original_model_name": "mistralai/Mixtral-8x7B-Instruct-v0.1",
"trained_model_name": "adaption_agentic_conscious_reasoning",
"training_method": "sft",
"training_type": "lora",
"data_format": "chat",
"hyperparams": {
"lora": "true",
"lora_r": 8,
"n_evals": 5,
"n_epochs": 1,
"batch_size": "max",
"lora_alpha": 8,
"lora_dropout": 0,
"min_lr_ratio": 0.1,
"warmup_ratio": 0.1,
"weight_decay": 0,
"learning_rate": 0.0001,
"max_grad_norm": 2,
"base_model_size": "46.7B",
"train_on_inputs": "false",
"training_method": "sft",
"lr_scheduler_type": "cosine",
"scheduler_num_cycles": 0.5,
"lora_trainable_modules": "q_proj,v_proj"
}
}
Training Data
The model was trained on 42,782 rows of adapted data with the following domain distribution: technology (51%), science (17%), code (14%), math (5%), academic-education (5%), how-to (3%), culture (2%), writing-editing-communication (2%), corporate-business (2%).
Model Evaluation
The model was evaluated on an in-distribution held-out test set as well as a broader domain-specific test set to measure generalization.
| Domain | Win rate vs. base model |
|---|---|
| technology | 77% |
How to use
pip install torch transformers peft accelerate
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
from peft import PeftModel
BASE = "mistralai/Mixtral-8x7B-Instruct-v0.1"
ADAPTER = "bngomez/adaption_agentic_conscious_reasoning"
base = AutoModelForCausalLM.from_pretrained(BASE, dtype="auto", device_map="auto")
# Merge the LoRA weights into the base for faster inference
model = PeftModel.from_pretrained(base, ADAPTER).merge_and_unload()
model.eval()
tokenizer = AutoTokenizer.from_pretrained(BASE)
pipe = pipeline("text-generation", model=model, tokenizer=tokenizer)
messages = [{"role": "user", "content": "Hello!"}]
out = pipe(messages, max_new_tokens=512, do_sample=True, temperature=0.6)
print(out[0]["generated_text"][-1]["content"])
- Downloads last month
- 38
Model tree for bngomez/adaption_agentic_conscious_reasoning
Base model
mistralai/Mixtral-8x7B-v0.1
