Skip to content

Commit

Permalink
open source together solver
Browse files Browse the repository at this point in the history
Co-authored-by: Chan Jun Shern <[email protected]>
Co-authored-by: Ian McKenzie <[email protected]>
  • Loading branch information
3 people committed Mar 21, 2024
1 parent e30e141 commit ab29d3b
Show file tree
Hide file tree
Showing 4 changed files with 554 additions and 121 deletions.
92 changes: 92 additions & 0 deletions evals/registry/solvers/together.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# --- Direct Solvers ---
generation/direct/llama-2-13b-chat:
class: evals.solvers.together_solver:TogetherSolver
args:
completion_fn_options:
model: meta-llama/Llama-2-13b-chat-hf
extra_options:
temperature: 1
max_tokens: 512
postprocessors: &postprocessors
- evals.solvers.postprocessors.postprocessors:Strip

generation/direct/llama-2-70b-chat:
class: evals.solvers.together_solver:TogetherSolver
args:
completion_fn_options:
model: meta-llama/Llama-2-70b-chat-hf
extra_options:
temperature: 1
max_tokens: 512
postprocessors: *postprocessors

generation/direct/mixtral-8x7b-instruct:
class: evals.solvers.together_solver:TogetherSolver
args:
completion_fn_options:
model: mistralai/Mixtral-8x7B-Instruct-v0.1
extra_options:
temperature: 1
max_tokens: 512
postprocessors: *postprocessors
# --- COT Solvers ---

generation/cot/llama-2-13b-chat:
class: evals.solvers.nested.cot_solver:CoTSolver
args:
cot_solver:
class: evals.solvers.together_solver:TogetherSolver
args:
completion_fn_options:
model: meta-llama/Llama-2-13b-chat-hf
extra_options:
temperature: 1
max_tokens: 512
extract_solver:
class: evals.solvers.together_solver:TogetherSolver
args:
completion_fn_options:
model: meta-llama/Llama-2-13b-chat-hf
extra_options:
temperature: 1
max_tokens: 512

generation/cot/llama-2-70b-chat:
class: evals.solvers.nested.cot_solver:CoTSolver
args:
cot_solver:
class: evals.solvers.together_solver:TogetherSolver
args:
completion_fn_options:
model: meta-llama/Llama-2-70b-chat-hf
extra_options:
temperature: 1
max_tokens: 512
extract_solver:
class: evals.solvers.together_solver:TogetherSolver
args:
completion_fn_options:
model: meta-llama/Llama-2-70b-chat-hf
extra_options:
temperature: 1
max_tokens: 512

generation/cot/mixtral-8x7b-instruct:
class: evals.solvers.nested.cot_solver:CoTSolver
args:
cot_solver:
class: evals.solvers.together_solver:TogetherSolver
args:
completion_fn_options:
model: mistralai/Mixtral-8x7B-Instruct-v0.1
extra_options:
temperature: 1
max_tokens: 512
extract_solver:
class: evals.solvers.together_solver:TogetherSolver
args:
completion_fn_options:
model: mistralai/Mixtral-8x7B-Instruct-v0.1
extra_options:
temperature: 1
max_tokens: 512
Loading

0 comments on commit ab29d3b

Please sign in to comment.