amend model card
Browse files
README.md
CHANGED
|
@@ -4,4 +4,50 @@ language:
|
|
| 4 |
- en
|
| 5 |
base_model:
|
| 6 |
- meta-llama/Llama-3.1-8B-Instruct
|
| 7 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
- en
|
| 5 |
base_model:
|
| 6 |
- meta-llama/Llama-3.1-8B-Instruct
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
## Introduction
|
| 10 |
+
A predictive weak LLM for translating user chat to a specific transformation task. This model is fine-tuned on a curated training dataset that collects common transformation tasks in the wild.
|
| 11 |
+
|
| 12 |
+
Users can interact with the model via 1) direct chat; 2) providing example pairs; 3) describing patterns or mixed input.
|
| 13 |
+
|
| 14 |
+
This model will predict the most suitable task and return operator & coding instructions accordingly.
|
| 15 |
+
|
| 16 |
+
This model can classify the following data transformation tasks:
|
| 17 |
+
1. Format: related to value consistency without arithmetic relation, e.g., to lower case, ABC → abc.
|
| 18 |
+
2. UnitConvert: transform regular metrics using a range of measurement unit scales, e.g., Hour → Minute, Kilogram→ Pound.
|
| 19 |
+
3. Extract: generally driven by Regex, e.g., ABC → BC.
|
| 20 |
+
4. DomainCalculate: convert cross-domain value by calculation, often observed in numerics, e.g., Unix timestamp → Local time with timezone.
|
| 21 |
+
5. DomainMap: convert cross-domain value by mapping relation, often observed in categorical case, e.g., Color RGB → Hex.
|
| 22 |
+
6. Transform: default, if none of the above all
|
| 23 |
+
|
| 24 |
+
---
|
| 25 |
+
## Examples
|
| 26 |
+
User chat + example-pair
|
| 27 |
+
|
| 28 |
+
- Unit Conversion
|
| 29 |
+
|
| 30 |
+
```
|
| 31 |
+
### Instruction ###
|
| 32 |
+
kgs to pounds, one digit after the decimal, rounding
|
| 33 |
+
|
| 34 |
+
### Examples ###
|
| 35 |
+
Input: 2
|
| 36 |
+
Output: 4.4
|
| 37 |
+
Input: 3
|
| 38 |
+
Output: 6.6
|
| 39 |
+
```
|
| 40 |
+
unit_convert(): Convert kilograms to pounds, rounding to one decimal place
|
| 41 |
+
|
| 42 |
+
- Month number to name
|
| 43 |
+
```
|
| 44 |
+
### Instruction ###
|
| 45 |
+
convert month number to month name
|
| 46 |
+
|
| 47 |
+
### Examples ###
|
| 48 |
+
Input: 7
|
| 49 |
+
Output: July
|
| 50 |
+
Input: 12
|
| 51 |
+
Output: December
|
| 52 |
+
```
|
| 53 |
+
domain_map(): Convert a month number to its corresponding month name.
|