Run this model with HF Jobs

Run PerceptronAI/Isaac-0.1 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/PerceptronAI/Isaac-0.1. 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/PerceptronAI/Isaac-0.1 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/PerceptronAI/Isaac-0.1. 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/PerceptronAI/Isaac-0.1. 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.

Upload modular_isaac.py

#4
by merve HF Staff - opened

Hello and congrats for the release!
This PR makes this model load with no additional dependency, only transformers, which is very convenient for the users:

from transformers import AutoTokenizer, AutoConfig, AutoModelForCausalLM, AutoProcessor

tokenizer = AutoTokenizer.from_pretrained("Perceptron/Isaac-0.1", trust_remote_code=True, use_fast=False)
config = AutoConfig.from_pretrained("Perceptron/Isaac-0.1", trust_remote_code=True)
processor = AutoProcessor.from_pretrained("Perceptron/Isaac-0.1", tokenizer=tokenizer, config=config)
model = AutoModelForCausalLM.from_pretrained("Perceptron/Isaac-0.1", trust_remote_code=True)

you can also add a small inference notebook I made by replacing the username to Perceptron: https://colab.research.google.com/drive/1BHl2ZT8cYZ0HlP_q4HllFuCXWIBX_R_2?usp=sharing

if you add the "notebook.ipynb" repo to it's one-click open in the repository, making it easier for people to try out your model as well!

Perceptron AI org

What is your recommendation around this for the core transformers repo: https://github.com/huggingface/transformers/pull/40962

TensorStream is a core abstraction for us which we will continue to optimize and improve - our intention of keeping it in the perceptron package was to make it easier to centralize improvements across open code bases.

Cannot merge
This branch has merge conflicts in the following files:
  • modular_isaac.py

Sign up or log in to comment