itlwas
Upload README.md with huggingface_hub
4b8326e verified
metadata
language:
  - en
  - zh
  - id
  - th
  - vi
  - ms
  - lo
license: apache-2.0
tags:
  - multilingual
  - sea
  - sailor
  - llama-cpp
  - gguf-my-repo
base_model: Qwen/Qwen1.5-0.5B
datasets:
  - cerebras/SlimPajama-627B
  - Skywork/SkyPile-150B
  - allenai/MADLAD-400
  - cc100
inference: false
model-index:
  - name: Sailor-0.5B
    results:
      - task:
          type: text-generation
        dataset:
          name: XQuAD-Thai
          type: XQuAD-Thai
        metrics:
          - type: EM (3-Shot)
            value: 15.84
            name: EM (3-Shot)
          - type: F1 (3-Shot)
            value: 27.58
            name: F1 (3-Shot)
      - task:
          type: text-generation
        dataset:
          name: TyDiQA-Indonesian
          type: TyDiQA-Indonesian
        metrics:
          - type: EM (3-Shot)
            value: 30.44
            name: EM (3-Shot)
          - type: F1 (3-Shot)
            value: 54.74
            name: F1 (3-Shot)
      - task:
          type: text-generation
        dataset:
          name: XQuAD-Vietnamese
          type: XQuAD-Vietnamese
        metrics:
          - type: EM (3-Shot)
            value: 21.13
            name: EM (3-Shot)
          - type: F1 (3-Shot)
            value: 40.57
            name: F1 (3-Shot)
      - task:
          type: text-generation
        dataset:
          name: XCOPA-Thai
          type: XCOPA-Thai
        metrics:
          - type: EM (3-Shot)
            value: 51
            name: EM (3-Shot)
      - task:
          type: text-generation
        dataset:
          name: XCOPA-Indonesian
          type: XCOPA-Indonesian
        metrics:
          - type: EM (3-Shot)
            value: 58.2
            name: EM (3-Shot)
      - task:
          type: text-generation
        dataset:
          name: XCOPA-Vietnamese
          type: XCOPA-Vietnamese
        metrics:
          - type: EM (3-Shot)
            value: 58
            name: EM (3-Shot)
      - task:
          type: text-generation
        dataset:
          name: M3Exam-Thai
          type: M3Exam-Thai
        metrics:
          - type: EM (3-Shot)
            value: 24.41
            name: EM (3-Shot)
      - task:
          type: text-generation
        dataset:
          name: M3Exam-Indonesian
          type: M3Exam-Indonesian
        metrics:
          - type: EM (3-Shot)
            value: 26.15
            name: EM (3-Shot)
      - task:
          type: text-generation
        dataset:
          name: M3Exam-Vietnamese
          type: M3Exam-Vietnamese
        metrics:
          - type: EM (3-Shot)
            value: 30.91
            name: EM (3-Shot)
      - task:
          type: text-generation
        dataset:
          name: BELEBELE-Thai
          type: BELEBELE-Thai
        metrics:
          - type: EM (3-Shot)
            value: 32.22
            name: EM (3-Shot)
      - task:
          type: text-generation
        dataset:
          name: BELEBELE-Indonesian
          type: BELEBELE-Indonesian
        metrics:
          - type: EM (3-Shot)
            value: 30.89
            name: EM (3-Shot)
      - task:
          type: text-generation
        dataset:
          name: BELEBELE-Vietnamese
          type: BELEBELE-Vietnamese
        metrics:
          - type: EM (3-Shot)
            value: 32.33
            name: EM (3-Shot)

AIronMind/Sailor-0.5B-Q4_K_M-GGUF

This model was converted to GGUF format from sail/Sailor-0.5B using llama.cpp via the ggml.ai's GGUF-my-repo space. Refer to the original model card for more details on the model.

Use with llama.cpp

Install llama.cpp through brew.

brew install ggerganov/ggerganov/llama.cpp

Invoke the llama.cpp server or the CLI.

CLI:

llama-cli --hf-repo AIronMind/Sailor-0.5B-Q4_K_M-GGUF --model sailor-0.5b.Q4_K_M.gguf -p "The meaning to life and the universe is"

Server:

llama-server --hf-repo AIronMind/Sailor-0.5B-Q4_K_M-GGUF --model sailor-0.5b.Q4_K_M.gguf -c 2048

Note: You can also use this checkpoint directly through the usage steps listed in the Llama.cpp repo as well.

git clone https://github.com/ggerganov/llama.cpp &&             cd llama.cpp &&             make &&             ./main -m sailor-0.5b.Q4_K_M.gguf -n 128