Run this model with HF Jobs

Run aeonium/Aeonium-v1.1-Chat-4B 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 and TRL to fine-tune https://huggingface.co/aeonium/Aeonium-v1.1-Chat-4B. 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/aeonium/Aeonium-v1.1-Chat-4B 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.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/aeonium/Aeonium-v1.1-Chat-4B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/aeonium/Aeonium-v1.1-Chat-4B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Aeoinum v1.1 Chat 4B

A state-of-the-art language model for Russian language processing. The model is fine-tuned for dialogues, SFT only. Trained on 2xNVIDIA L40S

Usage

Example for running a model on NVIDIA CUDA:

from transformers import AutoTokenizer, AutoModelForCausalLM
import transformers
import torch

model_id = "aeonium/Aeonium-v1.1-Chat-4B"

tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    device_map="cuda",
    torch_dtype=torch.bfloat16,
)

chat = [
    { "role": "user", "content": "ะŸั€ะธะฒะตั‚!" },
]

prompt = tokenizer.apply_chat_template(chat, tokenize=False, add_generation_prompt=True)
inputs = tokenizer.encode(prompt, add_special_tokens=False, return_tensors="pt").to(model.device)
outputs = model.generate(input_ids=inputs, max_new_tokens=48)
print(tokenizer.decode(outputs[0]))

Content Warning

Aeonium v1.1 is a large language model trained on a broad dataset from the internet. As such, it may generate text that contains biases, offensive language, or other disapproving content. The model outputs should not be considered factual or representative of any individual's beliefs or identity. Users should exercise caution and apply careful filtering when using Aeonium's generated text, especially for sensitive or high-stakes applications. The developers do not condone generating harmful, biased, or unethical content.

Copyright

The model is released under the Apache 2.0 license.

Downloads last month
19
Safetensors
Model size
4B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for aeonium/Aeonium-v1.1-Chat-4B

Finetuned
(1)
this model

Space using aeonium/Aeonium-v1.1-Chat-4B 1