Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
|
| 4 |
+
datasets:
|
| 5 |
+
- homebrewltd/instruction-speech-whispervq-v2
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
license: apache-2.0
|
| 9 |
+
tags:
|
| 10 |
+
- sound language model
|
| 11 |
+
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+

|
| 15 |
+
|
| 16 |
+
# QuantFactory/llama3.1-s-base-v0.2-GGUF
|
| 17 |
+
This is quantized version of [homebrewltd/llama3.1-s-base-v0.2](https://huggingface.co/homebrewltd/llama3.1-s-base-v0.2) created using llama.cpp
|
| 18 |
+
|
| 19 |
+
# Original Model Card
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
## Model Details
|
| 23 |
+
|
| 24 |
+
We have developed and released the family [llama3s](https://huggingface.co/collections/homebrew-research/llama3-s-669df2139f0576abc6eb7405). This family is natively understanding audio and text input.
|
| 25 |
+
|
| 26 |
+
We continual pretrain on the expanded vocabulary [homebrewltd/llama3.1-s-whispervq-init](https://huggingface.co/homebrewltd/llama3.1-s-whispervq-init) with 900M tokens from [homebrewltd/raw-speech-whispervq-v1](https://huggingface.co/datasets/homebrewltd/raw-speech-whispervq-v1) dataset.
|
| 27 |
+
|
| 28 |
+
**Model developers** Homebrew Research.
|
| 29 |
+
|
| 30 |
+
**Input** Text and sound.
|
| 31 |
+
|
| 32 |
+
**Output** Text.
|
| 33 |
+
|
| 34 |
+
**Model Architecture** Llama-3.
|
| 35 |
+
|
| 36 |
+
**Language(s):** English.
|
| 37 |
+
|
| 38 |
+
## Intended Use
|
| 39 |
+
|
| 40 |
+
**Intended Use Cases** This family is primarily intended for research applications. This version aims to further improve the LLM on sound understanding capabilities.
|
| 41 |
+
|
| 42 |
+
**Out-of-scope** The use of llama3-s in any manner that violates applicable laws or regulations is strictly prohibited.
|
| 43 |
+
|
| 44 |
+
## Training process
|
| 45 |
+
**Training Metrics Image**: Below is a snapshot of the training loss curve visualized.
|
| 46 |
+
|
| 47 |
+

|
| 48 |
+
|
| 49 |
+
### Hardware
|
| 50 |
+
|
| 51 |
+
**GPU Configuration**: Cluster of 10x NVIDIA A6000-48GB.
|
| 52 |
+
|
| 53 |
+
**GPU Usage**:
|
| 54 |
+
- **Continual Training**: 30 hours.
|
| 55 |
+
|
| 56 |
+
### Training Arguments
|
| 57 |
+
|
| 58 |
+
We utilize [torchtune](https://github.com/pytorch/torchtune) library for the latest FSDP2 training code implementation.
|
| 59 |
+
|
| 60 |
+
| Parameter | Continual Training |
|
| 61 |
+
|----------------------------|-------------------------|
|
| 62 |
+
| **Epoch** | 1 |
|
| 63 |
+
| **Global batch size** | 480 |
|
| 64 |
+
| **Learning Rate** | 2e-4 |
|
| 65 |
+
| **Learning Scheduler** | Cosine with warmup |
|
| 66 |
+
| **Optimizer** | AdamW fused |
|
| 67 |
+
| **Warmup Steps** | 50 |
|
| 68 |
+
| **Weight Decay** | 0.01 |
|
| 69 |
+
| **Max Sequence Length** | 512 |
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
## Citation Information
|
| 73 |
+
|
| 74 |
+
**BibTeX:**
|
| 75 |
+
|
| 76 |
+
```
|
| 77 |
+
@article{Llama3-S: Sound Instruction Language Model 2024,
|
| 78 |
+
title={Llama3-S},
|
| 79 |
+
author={Homebrew Research},
|
| 80 |
+
year=2024,
|
| 81 |
+
month=August},
|
| 82 |
+
url={https://huggingface.co/homebrewltd/llama3.1-s-2024-08-15}
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
## Acknowledgement
|
| 86 |
+
|
| 87 |
+
- **[WhisperSpeech](https://github.com/collabora/WhisperSpeech)**
|
| 88 |
+
|
| 89 |
+
- **[Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct)**
|