varibels
Browse files- metadata_transformer.py +1 -2
metadata_transformer.py
CHANGED
|
@@ -13,8 +13,7 @@ system_message = """
|
|
| 13 |
You are a metadata schema translator. You translate metadata from one schema to another.
|
| 14 |
"""
|
| 15 |
|
| 16 |
-
def translate(
|
| 17 |
-
schema_input, schema_target = inputs
|
| 18 |
propmpt = '{} \n Translate the schema metadata file above to the schema: {}'.format(schema_input, schema_target),
|
| 19 |
response = huggingface.ChatCompletion.create(
|
| 20 |
model="meta-llama/Llama-2-70b-chat-hf",
|
|
|
|
| 13 |
You are a metadata schema translator. You translate metadata from one schema to another.
|
| 14 |
"""
|
| 15 |
|
| 16 |
+
def translate(schema_input, schema_target):
|
|
|
|
| 17 |
propmpt = '{} \n Translate the schema metadata file above to the schema: {}'.format(schema_input, schema_target),
|
| 18 |
response = huggingface.ChatCompletion.create(
|
| 19 |
model="meta-llama/Llama-2-70b-chat-hf",
|