-
Notifications
You must be signed in to change notification settings - Fork 66
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
Questions about threads #550
Comments
Hi @YueWu0301, could you share the code of your pipeline? |
Hi @gabrielmbmb, I face the same problem. The code is as follows:
|
Hi, I think the issue might be caused because the |
Hi @gabrielmbmb, I'm currently trying to modify it as follows:
The errors still occurred: |
Hi @tridungduong-unsw, thanks for the details! I'll try to reproduce the error and get back to you. You are using conda, right? |
Hi @gabrielmbmb, yes, I'm using conda env. btw, I make it run now but need to modify a little bit. Other people will the same problem can try:
|
sure,here is my code:
Thanks a lot |
Hi @YueWu0301, could you try running and see if it works for you too? (mind the with Pipeline("pipe-name", description="My first pipe") as pipeline:
load_dataset = LoadHubDataset(
repo_id="xxxx",
name="load_dataset2"
# output_mappings={"input": "instruction"},
)
push_to_hub = PushToHub(
name="push_to_hub1",
repo_id="xxxx",
token="xxxxxx"
)
llm1 = OpenAILLM(model="xxxx",
api_key = "xxxx",
base_url="xxxx")
task = TextGeneration(name=f"text_generation1", llm=llm1)
load_dataset.connect(task)
task.connect(push_to_hub)
if __name__ == "__main__":
re = pipeline.run(
parameters={
"load_dataset2":{
"repo_id":"xxxxxx",
},
"text_generation1": {
"llm": {
"generation_kwargs": {
"temperature": 0.9,
}
}
},
"push_to_hub1":{
"repo_id":"xxxxxxx",
}
}
) |
After I successfully ran the pipeline once, I can no longer reproduce my code, even if I changed my name, entered data and related parameters, and reported the following error. What may be the cause?
The text was updated successfully, but these errors were encountered: