Run this model with HF Jobs

Run zai-org/chatglm-6b 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/zai-org/chatglm-6b. 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/zai-org/chatglm-6b 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.

Commit History

  1. fix typo in use_gmask (#21)⁠

    zxdu20 +1: fzhang
    551a50e
  2. Fix decode method for torch tensor

    duzx16
    23ad39b

  1. Support single integer or empty list as input to decode (#7)⁠

    zxdu20 +1: peakji
    fdb7a60

  1. Fix position ids expand

    duzx16
    f82b180

  1. Fix generate

    duzx16
    fb23542

  1. Fix attention mask for prefix prompt

    duzx16
    08bc851
  2. No padding for chat function

    duzx16
    4b7ffbf
  3. Fix attention_mask and position_ids

    duzx16
    373fd6b
  4. Fix encode method

    duzx16
    e22cddf
  5. Fix batch input

    duzx16
    e1494f2
  6. Implement batch generation

    duzx16
    cc96a22

  1. Fix position id for training

    duzx16
    11c270c
  2. fix GLM6BBlock name typo (#20)⁠

    zxdu20 +1: richbrain
    9c7416d
  3. Add support for loading quantized model

    duzx16
    2e1be30

  1. Use dynamic dtype for prompts

    duzx16
    c949d03
  2. Fix backward for quantization

    duzx16
    0cfae21
  3. Implement gradient checkpointing

    duzx16
    aea6cef
  4. Fix bugs

    duzx16
    0564795

  1. Add pad_token_id in config.json⁠

    duzx16
    2200e2b
  2. Change padding side

    duzx16
    db22499
  3. Set ignore_index for CrossEntropyLoss

    duzx16
    5c64357
  4. Support batch training

    duzx16
    8127ab6
  5. Merge branch 'main' into dev_pt⁠

    duzx16
    fbda120
  6. Add p-tuning v2

    duzx16
    812f43f

  1. Fix context length in get_position_ids

    duzx16
    096f3de

  1. Close CPU fusion on Mac

    duzx16
    4a9b711

  1. Fix Chinese punctuation

    duzx16
    d2bbc82

  1. Add English

    duzx16
    2449bdc

  1. Fix typo in tokenization_chatglm.py

    songxxzp
    1b54948
  2. Remove hardcode bos_token_id

    duzx16
    2460dc2
  3. Add support for streaming output

    duzx16
    42095d4

  1. Fix overflow in FP16

    duzx16
    220f772

  1. Set is_parallelizable to False

    duzx16
    f9f74fd
  2. Remove image tokens when decoding

    duzx16
    8492687
  3. Revert "Update quantization"⁠

    duzx16
    0d8b08d
  4. Update quantization

    duzx16
    0101afd
  5. Add logit processor for NaN or Inf scores

    duzx16
    c3dece3

  1. Fix default history argument

    duzx16
    9d1509a
  2. Merge branch 'main' of https://huggingface.co/THUDM/chatglm-6b

    duzx16
    bcb053b
  3. Add support for float32

    duzx16
    d4832e8
  4. Update requirements

    duzx16
    a034f2a
  5. Update requirements

    duzx16
    3d0afee
  6. Update README.md

    534e8b7
  7. Update README.md

    6331ebe

  1. Update README.md

    4cfd1ea
  2. Update requirements

    duzx16
    ac23f2a
  3. Update README

    duzx16
    27d477b
  4. Update README

    duzx16
    0f573d1
  5. Fix past_key_values

    duzx16
    cd8041e
  6. add ice_text.model

    duzx16
    65bb3f0