Safetensors
modernbert
steee commited on
Commit
b1175f8
Β·
verified Β·
1 Parent(s): 7f26df4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +54 -1
README.md CHANGED
@@ -4,4 +4,57 @@ datasets:
4
  - bravesoftware/androcles-2-chat-50k
5
  base_model:
6
  - answerdotai/ModernBERT-base
7
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  - bravesoftware/androcles-2-chat-50k
5
  base_model:
6
  - answerdotai/ModernBERT-base
7
+ ---
8
+ # Androcles
9
+
10
+ Androcles is our inhouse **Prompt Classification Model**, used to classify user prompts into different categories to dynamically change the functionality based on the context of the request. It's a simple text classification model finetuned on a mix of synthetic & open source data across 21 labels
11
+
12
+ **No Brave Browser/Leo user data was used to train this model - even if we wanted to, we don't have it**
13
+
14
+ ## Labels
15
+ | Label | Short Description |
16
+ |---------------------|-----------------------------------------------------------------------------------|
17
+ | Brave | The user is asking about Brave products β€” Brave Browser, Brave Search, Brave Rewards |
18
+ | Browser | The user wants Leo to take actions in the browser β€” clicking, filling forms, navigating pages |
19
+ | Choice | The user is deciding between two or more specific options and wants help choosing |
20
+ | Coding | Anything related to coding β€” writing, reading, understanding, explaining, or running code in any language |
21
+ | Data Analysis | The user has data they want analysed, visualised, or interpreted β€” CSV, JSON, a table, or raw numbers |
22
+ | Diagrams | The user wants a diagram, flowchart, chart, or visual representation of a system or process |
23
+ | Fact Checking | The user is asking whether a claim, statement, or piece of information is true or false |
24
+ | Finance | The user is asking about money β€” current conditions, forecasts, or climate for a location *(Note: This seems misaligned; likely refers to financial data like stock prices, crypto, exchange rates)* |
25
+ | Image Generation | Generating an image β€” the user is explicitly asking for an image to be created or produced |
26
+ | Math / Calculations | Anything involving numbers, arithmetic, algebra, statistics, or mathematical reasoning |
27
+ | Multilingualism | The user is writing in or asking for a response in a non-English language |
28
+ | News | The user is asking about current events, recent news, or what's happening in the world |
29
+ | Recommendation | The user is asking for a recommendation β€” a product, service, tool, or option suited to their needs |
30
+ | Sports | The user is asking about sports β€” scores, fixtures, standings, results, or sports news |
31
+ | Structured Writing | The user wants help writing something structured and polished β€” a cover letter, essay, email, report, blog post etc |
32
+ | Summarisation | The user wants a summary of something β€” an article, video, document, or piece of text |
33
+ | Thinking | The user wants Leo to think through something carefully and methodically β€” a complex problem, a multi-step question, or a nuanced topic |
34
+ | Time-critical | The request is urgent or time-sensitive β€” the user needs a fast answer, not a thorough one |
35
+ | Translation | Translating text from one language to another |
36
+ | Travel Planning | The user is planning a trip β€” flights, hotels, itineraries, destinations, things to do |
37
+ | Weather | The user is asking about the weather β€” current conditions, forecasts, or climate for a location |
38
+
39
+ ***
40
+
41
+ ## Training
42
+
43
+ Androcles 2 was trained using https://huggingface.co/datasets/bravesoftware/androcles-2-chat-50k
44
+
45
+ The scripts for training the model & generating the initial dataset can be found here [TBA]
46
+
47
+ ## How We Use It
48
+
49
+ We use Androcles in a couple of different ways:
50
+
51
+ * As a first step in our Leo backend server [TBA], classifying prompts into categories with the aim of dynamically changing available tools/instructions depending on what the user asks for - See here [tba]
52
+ * As a 'primary category' labeller for our privacy-preserving Leo Analytics server
53
+
54
+ We host it using Nvidia's Triton Inference Server to serve it with low-latency at scale, but we've also used KServe in the past
55
+
56
+ ## Caveats
57
+
58
+ This model was not trained to be perfect and will make mistakes in classification, the aim was to catch some low-hanging fruit semantically to improve the user experience
59
+
60
+