Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9ff85ad

Browse files
authored
Merge pull request#95 from unum-cloud/main-dev
Improved Documentation
2 parentse6c7b42 +95c91a9 commit9ff85ad

File tree

9 files changed

+592
-115
lines changed

9 files changed

+592
-115
lines changed

‎.github/workflows/prerelease.yml‎

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,27 @@ permissions:
1616
contents:read
1717

1818
jobs:
19-
19+
versioning:
20+
name:Update Version
21+
runs-on:ubuntu-latest
22+
steps:
23+
-name:Checkout
24+
uses:actions/checkout@v4
25+
with:
26+
fetch-depth:0
27+
persist-credentials:false
28+
-name:Run TinySemVer
29+
uses:ashvardanian/tinysemver@v2.0.7
30+
with:
31+
verbose:"true"
32+
version-file:"VERSION"
33+
update-version-in:|
34+
package.json:"version": "(\d+\.\d+\.\d+)"
35+
package-lock.json:"uform",\n\s+"version": "(\d+\.\d+\.\d+)"
36+
CITATION.cff:^version: (\d+\.\d+\.\d+)
37+
pyproject.toml:^version = "(\d+\.\d+\.\d+)"
38+
dry-run:"true"
39+
2040
test_python:
2141
name:Test Python
2242
runs-on:ubuntu-latest

‎.github/workflows/release.yml‎

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,28 @@ permissions:
1515

1616
jobs:
1717
versioning:
18-
name:Semantic Release
18+
name:Update Version
1919
runs-on:ubuntu-latest
2020
steps:
21-
-uses:actions/checkout@v4
21+
-name:Checkout
22+
uses:actions/checkout@v4
2223
with:
24+
fetch-depth:0
2325
persist-credentials:false
24-
-uses:actions/setup-node@v4
26+
-name:Run TinySemVer
27+
uses:ashvardanian/tinysemver@v2.0.7
2528
with:
26-
node-version:20
27-
-run:npm install --save-dev --prefix ./package-ci @semantic-release/exec @semantic-release/git conventional-changelog-eslint semantic-release && npx --prefix ./package-ci semantic-release
29+
verbose:"true"
30+
version-file:"VERSION"
31+
update-version-in:|
32+
package.json:"version": "(\d+\.\d+\.\d+)"
33+
package-lock.json:"uform",\n\s+"version": "(\d+\.\d+\.\d+)"
34+
CITATION.cff:^version: (\d+\.\d+\.\d+)
35+
pyproject.toml:^version = "(\d+\.\d+\.\d+)"
36+
dry-run:"false"
37+
push:"true"
38+
create-release:"true"
39+
github-token:${{ secrets.SEMANTIC_RELEASE_TOKEN }}
2840

2941
rebase:
3042
name:Rebase Dev. Branch

‎.github/workflows/update_version.sh‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎.releaserc‎

Lines changed: 0 additions & 84 deletions
This file was deleted.

‎.vscode/settings.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"cSpell.words": [
33
"arange",
4+
"ashvardanian",
45
"astype",
56
"CFURL",
67
"coreml",

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ With compact __custom pre-trained transformer models__, this can run anywhere fr
4242

4343
##Features
4444

45-
-__Tiny Embeddings__: 64-dimensional[Matryoshaka][matryoshka]-style embeddings for extremely fast[search][usearch].
45+
-__Tiny Embeddings__: 64-dimensional[Matryoshka][matryoshka]-style embeddings for extremely fast[search][usearch].
4646
-__Throughput__: Thanks to the small size, the inference speed is[2-4x faster](#speed) than competitors.
4747
-__Portable__: Models come with native ONNX support, making them easy to deploy on any platform.
4848
-__Quantization Aware__: Down-cast embeddings from`f32` to`i8` without losing much recall.
@@ -153,7 +153,7 @@ from io import BytesIO
153153
fromPILimport Image
154154

155155
image_url='https://media-cdn.tripadvisor.com/media/photo-s/1b/28/6b/53/lovely-armenia.jpg'
156-
image_url= Image.open(BytesIO(requests.get(image_url).content))
156+
image= Image.open(BytesIO(requests.get(image_url).content))
157157
image_data= processor_image(image)
158158
image_features, image_embedding= model_image.encode(image_data,return_features=True)
159159
```

‎package-ci.json‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"name":"@unum-cloud/uform",
33
"type":"module",
4-
"private":false,
5-
"version":"2.0.2",
4+
"version":"3.0.2",
65
"description":"Pocket-Sized Multimodal AI for Content Understanding and Generation",
76
"dependencies": {
87
"@huggingface/hub":"^0.14.8",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp