Ontocord.AI
commited on
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
---
|
4 |
+
### Multi-Domain-Expert-Layers/meow_1b
|
5 |
+
|
6 |
+
# Model Description
|
7 |
+
This model was generated by averaging the weights of the following models
|
8 |
+
- [Multi-Domain-Expert-Layers/expert-pubmed_central](https://huggingface.co/Multi-Domain-Expert-Layers/expert-pubmed_central)
|
9 |
+
- [Multi-Domain-Expert-Layers/expert-freelaw](https://huggingface.co/Multi-Domain-Expert-Layers/expert-freelaw)
|
10 |
+
- [Multi-Domain-Expert-Layers/expert-github](https://huggingface.co/Multi-Domain-Expert-Layers/expert-github)
|
11 |
+
- [Multi-Domain-Expert-Layers/expert-uspto](https://huggingface.co/Multi-Domain-Expert-Layers/expert-uspto)
|
12 |
+
- [Multi-Domain-Expert-Layers/expert-arxiv](https://huggingface.co/Multi-Domain-Expert-Layers/expert-arxiv)
|
13 |
+
- [theblackcat102/pythia-1b-deduped-sft](https://huggingface.co/theblackcat102/pythia-1b-deduped-sft)
|
14 |
+
- We also keep a mixture that is primarily one of the above as an expert that can be loaded on demand.
|
15 |
+
|
16 |
+
### NOTE: There is a mistake below where we are using a routed expert for pubmed-abstract, but we merged pubmed central
|
17 |
+
|
18 |
+
- [Try demo on colab](https://colab.research.google.com/drive/1GgB8H30L5r0N--gexdEweK5f1yJfxMd_?usp=sharing)
|
19 |
+
|
20 |
+
## Using the automatic routing:
|
21 |
+
|
22 |
+
```
|
23 |
+
Setting `pad_token_id` to `eos_token_id`:0 for open-end generation.
|
24 |
+
#####
|
25 |
+
Test dynamic routing to expert
|
26 |
+
##
|
27 |
+
Switching to expert Github
|
28 |
+
Setting `pad_token_id` to `eos_token_id`:0 for open-end generation.
|
29 |
+
source code for sorting a list :
|
30 |
+
sort(list, reverse=True) #Warning: this function is not very efficient.
|
31 |
+
|
32 |
+
#Warning: This function is not very fast and may be slow in some cases.
|
33 |
+
|
34 |
+
#Returns the sorted list of numbers
|
35 |
+
|
36 |
+
#Example:
|
37 |
+
|
38 |
+
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
39 |
+
|
40 |
+
#Example with reverse=False:
|
41 |
+
|
42 |
+
[2, 1, -1, -2, -3, -4, -5, -6, -7, -8, -9, -
|
43 |
+
##
|
44 |
+
Switching to expert USPTO-Backgrounds
|
45 |
+
Setting `pad_token_id` to `eos_token_id`:0 for open-end generation.
|
46 |
+
Give me a patent for shoes made of water :
|
47 |
+
Field of the Invention: A shoe that is waterproof and water resistant.
|
48 |
+
|
49 |
+
Description: The shoe is waterproof and resistant to water, but it can be easily washed with soap or water. It also has a rubber-like coating on the bottom to make it waterproof. The rubber-like coating helps the shoe to stay dry when wet.
|
50 |
+
|
51 |
+
The rubber-like coating is used in the lining of a shoe to keep the shoe from getting damaged by water. The rubber-coated lining prevents the shoe from being scratched by any sharp objects.
|
52 |
+
|
53 |
+
The
|
54 |
+
##
|
55 |
+
Switching to expert FreeLaw
|
56 |
+
Setting `pad_token_id` to `eos_token_id`:0 for open-end generation.
|
57 |
+
Court case of Nguyen vs. State of California : The California Supreme Court ruled that the "unreasonable search" clause in the federal constitution is not a violation of the Fourth Amendment, but rather a violation of the Fifth Amendment.
|
58 |
+
|
59 |
+
The court said that the "unconstitutional search" clause in Article I, Section 20, of the Constitution, which says that any person may be arrested without a warrant and without a warrant for any purpose, except when there is probable cause to believe that they have committed a crime, is a violation of the 5th Amendment, which says that no person shall be arrested without a *w
|
60 |
+
##
|
61 |
+
Switching to expert PubMed-Abstracts
|
62 |
+
Setting `pad_token_id` to `eos_token_id`:0 for open-end generation.
|
63 |
+
Medical journal article about ovarian cancer :
|
64 |
+
|
65 |
+
_URL_0_
|
66 |
+
|
67 |
+
This is a very common thing in the medical field. It's called "endometrial cancer" and it's not actually a cancer, but it's a benign tumor that can be removed by a simple surgical procedure. The reason this is so common is because there are many different types of cancers that can cause this. There are two main types of cancer that I think are most commonly known as "endometrioid" and "endometroid". Endometrioid cancer is the one you're talking about here.
|
68 |
+
|
69 |
+
```
|
70 |
+
|
71 |
+
|
72 |
+
## Using the original chat model:
|
73 |
+
|
74 |
+
```
|
75 |
+
Compared to original chat model
|
76 |
+
##
|
77 |
+
Switching to expert OrigChat
|
78 |
+
Setting `pad_token_id` to `eos_token_id`:0 for open-end generation.
|
79 |
+
source code for sorting a list :
|
80 |
+
sort(list, key=lambda x: x[1], reverse=True) #Warning: this code generation is experimental. Please inspect the code for any bugs before executing.
|
81 |
+
##
|
82 |
+
Setting `pad_token_id` to `eos_token_id`:0 for open-end generation.
|
83 |
+
Give me a patent for shoes made of water :
|
84 |
+
Field of the Invention: The invention relates to a shoe with a sole and an upper, wherein the sole is formed by a first layer of material and the upper is formed by a second layer of material.
|
85 |
+
##
|
86 |
+
Setting `pad_token_id` to `eos_token_id`:0 for open-end generation.
|
87 |
+
Court case of Nguyen vs. State of California :
|
88 |
+
|
89 |
+
The court ruled that the state's ban on same-sex marriage was unconstitutional, and that it had to be overturned by a higher court. The ruling came in a lawsuit brought by two gay men who were denied the right to marry because of their sexual orientation.
|
90 |
+
##
|
91 |
+
Medical journal article about ovarian cancer :
|
92 |
+
|
93 |
+
_URL_0_
|
94 |
+
```
|
95 |
+
## WARNING: This model is not an optimal chatbot and was designed to show expertise swapping. The model may create undesirable content, use at your own
|