Text Generation
Transformers
PyTorch
English
llama
math
reasoning
text-generation-inference

Run this model with HF Jobs

Run piercemaloney/llemma_7b 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/piercemaloney/llemma_7b. 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/piercemaloney/llemma_7b 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/piercemaloney/llemma_7b. 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/piercemaloney/llemma_7b. 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.

Commit History

  1. removing bnb config

    Pierce Maloney
    eed1d08
  2. quantization trial

    Pierce Maloney
    b358b49

  1. adding another variation of Admitted.

    Pierce Maloney
    7e24db7

  1. Admitted bad words

    Pierce Maloney
    c5184ea
  2. adding logging + some bad words

    Pierce Maloney
    31cf0d3
  3. adding back truncation

    Pierce Maloney
    eebf1ef
  4. lowering temp to 0.7

    Pierce Maloney
    0425154
  5. taking out .to(cuda)

    Pierce Maloney
    c5d86f3
  6. back to .generate. forgot about returning gen ids

    Pierce Maloney
    dee492f
  7. bug + only new tokens

    Pierce Maloney
    813fd4a
  8. bugfix

    Pierce Maloney
    355a0ec
  9. pipeline trial

    Pierce Maloney
    a36be93
  10. torch.cuda.empty_cache()

    Pierce Maloney
    b873ed7
  11. taking out truncation of input_ids

    Pierce Maloney
    8cda5e7
  12. do_sample=True, and model.to('cuda')

    Pierce Maloney
    b179918
  13. truncating earliest tokens if longer than 4092

    Pierce Maloney
    6d8b690

  1. arg name change, Abort

    Pierce Maloney
    4c4f932
  2. adding periods back, adding Aborted.

    Pierce Maloney
    d8be130
  3. taking out . after Abort etc

    Pierce Maloney
    4705b72
  4. adding Ab ort . to bad words

    Pierce Maloney
    b356a46

  1. adding additional bad words ids

    Pierce Maloney
    66e62c6
  2. banning Admitted and Abort

    Pierce Maloney
    0e224b1
  3. banning token 13

    Pierce Maloney
    b29c898
  4. returning generated ids

    Pierce Maloney
    392d92f
  5. getting generated_ids[0]

    Pierce Maloney
    5e35500
  6. back to normal, removed additional bad words argument

    Pierce Maloney
    216cf30
  7. adding intros k v l. to bad words (for testing)

    Pierce Maloney
    60ed7ab
  8. using .generate, returning ids, custom bad_words

    Pierce Maloney
    000ad8b
  9. adding new bad word

    Pierce Maloney
    833b301
  10. returning ids

    Pierce Maloney
    88fdb99
  11. printing generated ids

    Pierce Maloney
    2872c1c
  12. testing .generate instead of pipeline

    Pierce Maloney
    366e62e

  1. testing custom logit processor for bad words

    Pierce Maloney
    02ffbef
  2. temp=2! top_k 40, 1 ret seq

    Pierce Maloney
    37b54cb
  3. num ret seqs 2

    Pierce Maloney
    cb274aa
  4. testing high temperature

    Pierce Maloney
    e1040a6
  5. adding second way of describing bad word (*

    Pierce Maloney
    26070b4
  6. increase temp, add top_k=20

    Pierce Maloney
    320c7f3
  7. XXS comment

    Pierce Maloney
    4f7f1d5
  8. temperature 0.7

    Pierce Maloney
    cd860a6
  9. only return new generated tokens, bad_words = comments

    Pierce Maloney
    d1e4ec5
  10. Track large files with Git LFS

    Pierce Maloney
    75114fc
  11. base llemma-7b and custom handler.py

    Pierce Maloney
    bf66e5a

  1. Update config.json

    Verified signature
    e223eee

  1. Update README.md

    acc26c5
  2. update readme

    zhangir-azerbayev
    84c323e
  3. update readme with links

    zhangir-azerbayev
    21a6f14

  1. standard links

    zhangir-azerbayev
    660c780
  2. update readme

    zhangir-azerbayev
    f1743f9
  3. update readme

    zhangir-azerbayev
    f99619d