소스 검색

update harness notebook

Justin Lee 3 달 전
부모
커밋
62b53676fb

+ 0 - 5
end-to-end-use-cases/prompt-migration/.env.template

@@ -1,5 +0,0 @@
-OPENAI_API_KEY=YOUR_OPENAI_API_KEY_HERE
-REPLICATE_API_TOKEN=YOUR_REPLICATE_TOKEN_HERE
-DATABRICKS_API_TOKEN=your_databricks_token_here
-DATABRICKS_API_URL=your_databricks_endpoint_url 
-TOGETHER_API_KEY=your_together_ai_key_here

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 1080
end-to-end-use-cases/prompt-migration/harness.ipynb


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 440 - 211
end-to-end-use-cases/prompt-migration/notebooks/harness.ipynb


+ 0 - 33
end-to-end-use-cases/prompt-migration/pyproject.toml

@@ -1,33 +0,0 @@
-[project]
-name = "llama-prompt-migrator"
-version = "0.1.0"
-description = ""
-authors = [{ name = "Cyrus Nouroozi", email = "cyrus@zenbase.ai" }]
-dependencies = [
-    "dspy @ git+https://github.com/stanfordnlp/dspy.git",
-    "numpy<2",
-    "lm-eval[wandb,api,math,ifeval,sentencepiece]>=0.4.7",
-    "python-dotenv>=1.0.1",
-]
-readme = "README.md"
-requires-python = ">= 3.10"
-
-[build-system]
-requires = ["hatchling"]
-build-backend = "hatchling.build"
-
-[tool.rye]
-managed = true
-dev-dependencies = [
-    "ipdb>=0.13.13",
-    "ipython>=8.31.0",
-    "pytest>=8.3.4",
-    "ruff>=0.9.1",
-    "ipykernel>=6.29.5",
-]
-
-[tool.hatch.metadata]
-allow-direct-references = true
-
-[tool.hatch.build.targets.wheel]
-packages = ["prompt_migrator/"]