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

fix(deps): pin dependencies #529

Merged
merged 1 commit into from
Nov 23, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 23, 2024

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
@anthropic-ai/sdk dependencies pin ^0.30.1 -> 0.30.1 age adoption passing confidence
@huggingface/transformers dependencies patch 3.0.1 -> 3.0.2 age adoption passing confidence
openai dependencies minor 4.69.0 -> 4.73.0 age adoption passing confidence

Add the preset :preserveSemverRanges to your config if you don't want to pin your dependencies.


Release Notes

huggingface/transformers.js (@​huggingface/transformers)

v3.0.2

Compare Source

What's new?

  • Add support for MobileLLM in https://github.com/huggingface/transformers.js/pull/1003

    Example: Text generation with onnx-community/MobileLLM-125M.

    import { pipeline } from "@​huggingface/transformers";
    
    // Create a text generation pipeline
    const generator = await pipeline(
      "text-generation",
      "onnx-community/MobileLLM-125M",
      { dtype: "fp32" },
    );
    
    // Define the list of messages
    const text = "Q: What is the capital of France?\nA: Paris\nQ: What is the capital of England?\nA:";
    
    // Generate a response
    const output = await generator(text, { max_new_tokens: 30 });
    console.log(output[0].generated_text);
    Example output
    Q: What is the capital of France?
    A: Paris
    Q: What is the capital of England?
    A: London
    Q: What is the capital of Scotland?
    A: Edinburgh
    Q: What is the capital of Wales?
    A: Cardiff
    
  • Add support for OLMo in https://github.com/huggingface/transformers.js/pull/1011

    Example: Text generation with onnx-community/AMD-OLMo-1B-SFT-DPO".

    import { pipeline } from "@​huggingface/transformers";
    
    // Create a text generation pipeline
    const generator = await pipeline(
      "text-generation",
      "onnx-community/AMD-OLMo-1B-SFT-DPO",
      { dtype: "q4" },
    );
    
    // Define the list of messages
    const messages = [
      { role: "system", content: "You are a helpful assistant." },
      { role: "user", content: "Tell me a joke." },
    ];
    
    // Generate a response
    const output = await generator(messages, { max_new_tokens: 128 });
    console.log(output[0].generated_text.at(-1).content);
    Example output
    Why don't scientists trust atoms?
    
    Because they make up everything!
    
  • Fix CommonJS bundling in https://github.com/huggingface/transformers.js/pull/1012. Thanks @​jens-ghc for reporting!

  • Doc fixes by @​roschler in https://github.com/huggingface/transformers.js/pull/1002

  • Remove duplicate gemma value from NO_PER_CHANNEL_REDUCE_RANGE_MODEL by @​bekzod in https://github.com/huggingface/transformers.js/pull/1005

🤗 New contributors

Full Changelog: huggingface/transformers.js@3.0.1...3.0.2

openai/openai-node (openai)

v4.73.0

Compare Source

Full Changelog: v4.72.0...v4.73.0

Features
  • api: add gpt-4o-2024-11-20 model (#​1201) (0feeafd)
  • bump model in all example snippets to gpt-4o (6961c37)
Bug Fixes
Chores
Documentation

v4.72.0

Compare Source

Full Changelog: v4.71.1...v4.72.0

Features
  • add back deno runtime testing without type checks (1626cf5)
Chores

v4.71.1

Compare Source

Full Changelog: v4.71.0...v4.71.1

Bug Fixes

v4.71.0

Compare Source

Full Changelog: v4.70.3...v4.71.0

Features

v4.70.3

Compare Source

Full Changelog: v4.70.2...v4.70.3

Bug Fixes
  • change streaming helper imports to be relative (e73b7cf)

v4.70.2

Compare Source

Full Changelog: v4.70.1...v4.70.2

Bug Fixes
  • add permissions to github workflow (ee75e00)
  • skip deno ecosystem test (5b181b0)

v4.70.1

Compare Source

Full Changelog: v4.70.0...v4.70.1

Bug Fixes

v4.70.0

Compare Source

Full Changelog: v4.69.0...v4.70.0

Features
Chores
  • internal: fix isolated modules exports (9cd1958)
Refactors

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone UTC, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@ponderingdemocritus ponderingdemocritus merged commit af76760 into main Nov 23, 2024
1 of 2 checks passed
@ponderingdemocritus ponderingdemocritus deleted the renovate/aiml-packages branch November 23, 2024 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant