Skip to content

Commit b26fd46

Browse files
v0.1.0
0 parents  commit b26fd46

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+12329
-0
lines changed

.cargo/config.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[build]
2+
rustflags = ["-C", "target-cpu=native"]
3+
4+
[target.wasm32-unknown-unknown]
5+
rustflags = ["-C", "target-feature=+simd128"]
6+
7+
[target.x86_64-apple-darwin]
8+
rustflags = ["-C", "target-feature=-avx,-avx2"]

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.idea
2+
target

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.png filter=lfs diff=lfs merge=lfs -text

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: "\U0001F41B Bug Report"
2+
description: Submit a bug report to help us improve text-embeddings-inference
3+
body:
4+
- type: textarea
5+
id: system-info
6+
attributes:
7+
label: System Info
8+
description: |
9+
Please share your system info with us (`text-generation-launcher --env` if installed locally).
10+
The full command line used that causes issues:
11+
OS version:
12+
Rust version (if self-compiling, `cargo version`):
13+
Model being used (`curl 127.0.0.1:8080/info | jq`):
14+
If local model please explicit the kind of model and/or equivalents.
15+
Hardware used (GPUs, how many, on which cloud) (`nvidia-smi`):
16+
Deployment specificities (Kubernetes, EKS, AKS, any particular deployments):
17+
The current version being used:
18+
19+
placeholder: text-embeddings-inference version, platform, python version, ...
20+
validations:
21+
required: true
22+
23+
- type: checkboxes
24+
id: information-scripts-examples
25+
attributes:
26+
label: Information
27+
description: 'The problem arises when using:'
28+
options:
29+
- label: "Docker"
30+
- label: "The CLI directly"
31+
32+
- type: checkboxes
33+
id: information-tasks
34+
attributes:
35+
label: Tasks
36+
description: "The thing I am working on is:"
37+
options:
38+
- label: "An officially supported command"
39+
- label: "My own modifications"
40+
41+
- type: textarea
42+
id: reproduction
43+
validations:
44+
required: true
45+
attributes:
46+
label: Reproduction
47+
description: |
48+
Please provide a code sample that reproduces the problem you ran into. It can be a Colab link or just a code snippet.
49+
If you have code snippets, error messages, stack traces please provide them here as well.
50+
Important! Use code tags to correctly format your code. See https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting
51+
Do not use screenshots, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.
52+
53+
placeholder: |
54+
Steps to reproduce the behavior:
55+
56+
1.
57+
2.
58+
3.
59+
60+
61+
- type: textarea
62+
id: expected-behavior
63+
validations:
64+
required: true
65+
attributes:
66+
label: Expected behavior
67+
description: "A clear and concise description of what you would expect to happen."

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
blank_issues_enabled: true
2+
version: 2.1
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "\U0001F680 Feature request"
2+
description: Submit a proposal/request for a new text-embeddings-inference feature
3+
labels: [ "feature" ]
4+
body:
5+
- type: textarea
6+
id: feature-request
7+
validations:
8+
required: true
9+
attributes:
10+
label: Feature request
11+
description: |
12+
A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist.
13+
14+
- type: textarea
15+
id: motivation
16+
validations:
17+
required: true
18+
attributes:
19+
label: Motivation
20+
description: |
21+
Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too.
22+
23+
24+
- type: textarea
25+
id: contribution
26+
validations:
27+
required: true
28+
attributes:
29+
label: Your contribution
30+
description: |
31+
Is there any way that you could help, e.g. by submitting a PR? Make sure to read the CONTRIBUTING.MD [readme](https://github.com/huggingface/text-embeddings-inference/blob/main/CONTRIBUTING.md)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "\U0001F31F New model addition"
2+
description: Submit a proposal/request to implement a new model
3+
labels: [ "New model" ]
4+
5+
body:
6+
- type: textarea
7+
id: description-request
8+
validations:
9+
required: true
10+
attributes:
11+
label: Model description
12+
description: |
13+
Put any and all important information relative to the model
14+
15+
- type: checkboxes
16+
id: information-tasks
17+
attributes:
18+
label: Open source status
19+
description: |
20+
Please note that if the model implementation isn't available or if the weights aren't open-source, we are less likely to implement it in `transformers`.
21+
options:
22+
- label: "The model implementation is available"
23+
- label: "The model weights are available"
24+
25+
- type: textarea
26+
id: additional-info
27+
attributes:
28+
label: Provide useful links for the implementation
29+
description: |
30+
Please provide information regarding the implementation, the weights, and the authors.
31+
Please mention the authors by @gh-username if you're aware of their usernames.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# What does this PR do?
2+
3+
<!--
4+
Congratulations! You've made it this far! You're not quite done yet though.
5+
6+
Once merged, your PR is going to appear in the release notes with the title you set, so make sure it's a great title that fully reflects the extent of your awesome contribution.
7+
8+
Then, please replace this with a description of the change and which issue is fixed (if applicable). Please also include relevant motivation and context. List any dependencies (if any) that are required for this change.
9+
10+
Once you're done, someone will review your PR shortly (see the section "Who can review?" below to tag some potential reviewers). They may suggest changes to make the code even better. If no one reviewed your PR after a week has passed, don't hesitate to post a new comment @-mentioning the same persons---sometimes notifications get lost.
11+
-->
12+
13+
<!-- Remove if not applicable -->
14+
15+
Fixes # (issue)
16+
17+
18+
## Before submitting
19+
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
20+
- [ ] Did you read the [contributor guideline](https://github.com/huggingface/transformers/blob/main/CONTRIBUTING.md#start-contributing-pull-requests),
21+
Pull Request section?
22+
- [ ] Was this discussed/approved via a Github issue or the [forum](https://discuss.huggingface.co/)? Please add a link
23+
to it if that's the case.
24+
- [ ] Did you make sure to update the documentation with your changes? Here are the
25+
[documentation guidelines](https://github.com/huggingface/transformers/tree/main/docs), and
26+
[here are tips on formatting docstrings](https://github.com/huggingface/transformers/tree/main/docs#writing-source-documentation).
27+
- [ ] Did you write any new necessary tests?
28+
29+
30+
## Who can review?
31+
32+
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
33+
members/contributors who may be interested in your PR.
34+
35+
<!-- Your PR will be replied to more quickly if you can figure out the right person to tag with @
36+
37+
38+
@OlivierDehaene OR @Narsil
39+
40+
-->

0 commit comments

Comments
 (0)