fywalter commited on
Commit
82b0b34
·
1 Parent(s): 7ff0270

update readme

Browse files
Files changed (1) hide show
  1. constant.py +2 -21
constant.py CHANGED
@@ -3,6 +3,8 @@ HEADER_MD = """# Inference-time Alignment with Nudging.
3
 
4
  **By injecting a few nudging tokens at inference time, we can make base models able to follow user instructions helpfully and safely.**
5
  - Our demo is powered by the [Together AI API](https://api.together.ai/). However, since only three base models are currently still available in the serverless API, we only choose three base models and nudging models for demonstration.
 
 
6
  """
7
 
8
  js_code_label = """
@@ -43,27 +45,6 @@ NUDGING_MODELS = [
43
  'Mistral-7B-v0.1-Instruct',
44
  ]
45
 
46
-
47
- my_css = """
48
- /* CSS for a link color that is visible on both black and white backgrounds */
49
- a {
50
- color: #1E90FF; /* DodgerBlue */
51
- text-decoration: none; /* Optional: remove underline */
52
- }
53
- a:hover {
54
- color: #104E8B; /* Slightly darker blue for hover effect */
55
- text-decoration: underline; /* Optional: add underline on hover */
56
- }
57
- """
58
- # import json
59
- # with open("together_model_ids.json", "r") as f:
60
- # TOGETHER_MODEL_IDS = json.load(f)
61
-
62
- # for _, model_id in MODEL_MAPPING.items():
63
- # if model_id not in TOGETHER_MODEL_IDS + HYPERBOLIC_MODELS:
64
- # print(model_id)
65
-
66
- # Custom CSS for highlighting nudging words in the Chatbot
67
  custom_css = """
68
  .chatbot mark {
69
  background-color: yellow;
 
3
 
4
  **By injecting a few nudging tokens at inference time, we can make base models able to follow user instructions helpfully and safely.**
5
  - Our demo is powered by the [Together AI API](https://api.together.ai/). However, since only three base models are currently still available in the serverless API, we only choose three base models and nudging models for demonstration.
6
+ - The daily limit is 50 requests per IP address. If you need more, please contact us.
7
+
8
  """
9
 
10
  js_code_label = """
 
45
  'Mistral-7B-v0.1-Instruct',
46
  ]
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  custom_css = """
49
  .chatbot mark {
50
  background-color: yellow;