Skip to content
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

(ci) remove obsolete references #962

Merged
merged 2 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"\n",
"> M3 stands for Multi-linguality (100+ languages), Multi-granularities (input length up to 8192), Multi-Functionality (unification of dense, lexical, multi-vec (colbert) retrieval).\n",
"\n",
"This notebook demonstrates how to use the [BGE-M3](https://github.com/FlagOpen/FlagEmbedding/tree/master/FlagEmbedding/BGE_M3) embeddings and\n",
"This notebook demonstrates how to use the [BGE-M3](https://github.com/FlagOpen/FlagEmbedding/blob/master/research/BGE_M3/BGE_M3.pdf) embeddings and\n",
"represent all three embedding representations in Vespa! Vespa is the only scalable serving engine that can handle all M3 representations.\n",
"\n",
"This code is inspired by the README from the model hub [BAAI/bge-m3](https://huggingface.co/BAAI/bge-m3).\n",
Expand Down Expand Up @@ -217,7 +217,7 @@
"- max_sim (The colbert max sim operation)\n",
"\n",
"Then, we combine these three scoring functions using a linear combination with weights, as suggested\n",
"by the authors [here](https://github.com/FlagOpen/FlagEmbedding/tree/master/FlagEmbedding/BGE_M3#compute-score-for-text-pairs).\n"
"by the authors [here](https://github.com/FlagOpen/FlagEmbedding/blob/master/research/BGE_M3/BGE_M3.pdf#compute-score-for-text-pairs).\n"
]
},
{
Expand Down
10 changes: 0 additions & 10 deletions vespacli/utils/update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@

import toml
import sys
import re
from pathlib import Path
import argparse

PYPROJECT_TOML_PATH = Path(__file__).parent.parent / "pyproject.toml"
VERSION_FILE_PATH = Path(__file__).parent.parent / "vespacli" / "_version_generated.py"


def update_version(new_version: str):
Expand All @@ -19,14 +17,6 @@ def update_version(new_version: str):
with open("pyproject.toml", "w") as f:
toml.dump(data, f)

# Update version in vespacli/_version_generated.py
with open(VERSION_FILE_PATH, "r") as f:
content = f.read()
new_content = re.sub(
r'vespa_version = ".*"', f'vespa_version = "{new_version}"', content
)
with open("vespacli/_version_generated.py", "w") as f:
f.write(new_content)
print(f"Updated version to {new_version}")


Expand Down
Loading