-
Notifications
You must be signed in to change notification settings - Fork 372
Pr sadra #393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Pr sadra #393
Changes from 13 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
61e11ef
Working on fewshot
sadra-barikbin f7ed5ff
Adapt prompts to removing target_for_fewshot_sorting
sadra-barikbin 6146844
Fix a bug related to target_for_fewshot_sorting
sadra-barikbin dc81343
Fix a tiny bug and apply ruff
sadra-barikbin aa36d2d
Apply review comments
sadra-barikbin 656a03f
Update piqa_helm
sadra-barikbin c5c9936
Update requests.py
clefourrier c545863
Update prompt_manager.py
clefourrier 3d96734
removing doc_to_target from task as it's now in the prompt manager
clefourrier 8b51d61
Merge branch 'main' into deciding-target-for-fewshot-sorting
clefourrier 05217d0
added class for few shot back
clefourrier 85ddfa9
correct community tasks
clefourrier 0c651c0
updated tests
clefourrier b5f22cf
Merge branch 'main' into pr_sadra
NathanHB 63edb8e
Code review
clefourrier c72982a
style
clefourrier cc09ac3
Merge branch 'main' into pr_sadra
NathanHB 777c8c5
Merge branch 'main' into pr_sadra
clefourrier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| model: | ||
| type: "endpoint" | ||
| base_params: | ||
| endpoint_name: "smollm-360m-instruct-v0-2-q8-lvy" # needs to be lower case without special characters | ||
| model: HuggingFaceTB/SmolLM-360M-Instruct | ||
| revision: "main" | ||
| dtype: "default" # can be any of "awq", "eetq", "gptq", "4bit' or "8bit" (will use bitsandbytes), "bfloat16" or "float16" | ||
| reuse_existing: true # if true, ignore all params in instance, and don't delete the endpoint after evaluation | ||
| instance: | ||
| accelerator: "gpu" | ||
| region: "eu-west-1" | ||
| vendor: "aws" | ||
| instance_size: "medium" | ||
| instance_type: "g5.2xlarge" | ||
| framework: "pytorch" | ||
| endpoint_type: "protected" | ||
| namespace: null # The namespace under which to launch the endopint. Defaults to the current user's namespace | ||
| image_url: null # Optionally specify the docker image to use when launching the endpoint model. E.g., launching models with later releases of the TGI container with support for newer models. | ||
| env_vars: | ||
| null # Optional environment variables to include when launching the endpoint. e.g., `MAX_INPUT_LENGTH: 2048` | ||
| generation: | ||
| add_special_tokens: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.