adamrida commited on
Commit
4c18255
·
verified ·
1 Parent(s): 1786c63

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +65 -0
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ features:
4
+ - name: input
5
+ dtype: string
6
+ - name: teacher
7
+ dtype: string
8
+ splits:
9
+ - name: train
10
+ num_examples: 10003
11
+ - name: test
12
+ num_examples: 3080
13
+ license: mit
14
+ task_categories:
15
+ - text-classification
16
+ language:
17
+ - en
18
+ tags:
19
+ - tracer
20
+ - banking77
21
+ - intent-classification
22
+ - llm-routing
23
+ - embeddings
24
+ pretty_name: TRACER Banking77 Traces
25
+ size_categories:
26
+ - 10K<n<100K
27
+ ---
28
+
29
+ # TRACER Banking77 Traces
30
+
31
+ Pre-computed traces and BGE-M3 embeddings for the [Banking77](https://huggingface.co/datasets/PolyAI/banking77) intent classification dataset, formatted for use with [TRACER](https://github.com/adrida/tracer).
32
+
33
+ ## Files
34
+
35
+ | File | Size | Description |
36
+ |------|------|-------------|
37
+ | `banking77_traces.jsonl` | 2.1 MB | 10,003 traces. Each line: `{"input": "...", "teacher": "label"}` |
38
+ | `banking77_embeddings.npy` | 39 MB | `(10003, 1024)` float32 -- BGE-M3 embeddings for train traces |
39
+ | `banking77_test_embeddings.npy` | 12 MB | `(3080, 1024)` float32 -- BGE-M3 embeddings for test set |
40
+
41
+ ## Usage with TRACER
42
+
43
+ ```python
44
+ from huggingface_hub import hf_hub_download
45
+ import numpy as np
46
+ import tracer
47
+
48
+ traces = hf_hub_download("adamrida/tracer-banking77", "banking77_traces.jsonl", repo_type="dataset")
49
+ X = np.load(hf_hub_download("adamrida/tracer-banking77", "banking77_embeddings.npy", repo_type="dataset"))
50
+
51
+ result = tracer.fit(traces, embeddings=X)
52
+ print(f"Coverage: {result.manifest.coverage_cal:.1%}")
53
+ ```
54
+
55
+ ## Embedding model
56
+
57
+ All embeddings were computed with [BAAI/bge-m3](https://huggingface.co/BAAI/bge-m3) (1024-dim, L2-normalized).
58
+
59
+ ## Source
60
+
61
+ Banking77 is a 77-class intent detection dataset from [PolyAI](https://github.com/PolyAI-LDN/task-specific-datasets). Teacher labels were generated by GPT-5.
62
+
63
+ ## License
64
+
65
+ MIT