bhavnicksm commited on
Commit
162547d
·
1 Parent(s): bd58313

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +61 -0
README.md CHANGED
@@ -1,3 +1,64 @@
1
  ---
2
  license: mit
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+
4
  ---
5
+ # brown-beetle-base-v0 Model Card
6
+
7
+ <div align="center">
8
+ <img width="50%" alt="Beetle logo" src="./assets/beetle_logo.png">
9
+ </div>
10
+
11
+ Beetles are some of the most diverse and interesting creatures on Earth. They are found in every environment, from the deepest oceans to the highest mountains. They are also known for their ability to adapt to a wide range of habitats and lifestyles. They are small, fast and powerful!
12
+
13
+ The beetle series of models are made as good starting points for Static Embedding training (via TokenLearn or Fine-tuning), as well as decent Static Embedding models. Each beetle model is made to be an improvement over the original **M2V_base_output** model in some way, and that's the threshold we set for each model (except the brown beetle series, which is the original model).
14
+
15
+ This model has been distilled from bge-base-en-v1.5, without using PCA or Zipf.
16
+
17
+ ## Version Information
18
+
19
+ - **brown-beetle-base-v0**: The original model, without using PCA or Zipf. The lack of PCA and Zipf also makes this a decent model for further training.
20
+ - **brown-beetle-base-v0.1**: The original model, with PCA but of the same size as the original model. This model is great if you want to experiment with Zipf or other weighting methods.
21
+ - **brown-beetle-base-v1**: The original model, with PCA and Zipf.
22
+ - **brown-beetle-small-v1**: A smaller version of the original model, with PCA and Zipf. Equivalent to **M2V_base_output**.
23
+ - **brown-beetle-tiny-v1**: A tiny version of the original model, with PCA and Zipf.
24
+
25
+ ## Installation
26
+
27
+ Install model2vec using pip:
28
+
29
+ ```bash
30
+ pip install model2vec
31
+ ```
32
+
33
+ ## Usage
34
+
35
+ Load this model using the `from_pretrained` method:
36
+
37
+ ```python
38
+ from model2vec import StaticModel
39
+
40
+ # Load a pretrained Model2Vec model
41
+ model = StaticModel.from_pretrained("bhavnicksm/brown-beetle-base-v0")
42
+
43
+ # Compute text embeddings
44
+ embeddings = model.encode(["Example sentence"])
45
+ ```
46
+
47
+ Read more about the Model2Vec library [here](https://github.com/MinishLab/model2vec).
48
+
49
+ ## Acknowledgements
50
+
51
+ This model is made using the [Model2Vec](https://github.com/MinishLab/model2vec) library. Credit goes to the [Minish Lab](https://github.com/MinishLab) team for developing this library.
52
+
53
+ ## Citation
54
+
55
+ Please cite the [Model2Vec repository](https://github.com/MinishLab/model2vec) if you use this model in your work.
56
+
57
+ ```bibtex
58
+ @software{minishlab2024model2vec,
59
+ authors = {Stephan Tulkens, Thomas van Dongen},
60
+ title = {Model2Vec: Turn any Sentence Transformer into a Small Fast Model},
61
+ year = {2024},
62
+ url = {https://github.com/MinishLab/model2vec},
63
+ }
64
+ ```