Tags · jbender0/transformers-php · GitHub
Skip to content

Tags: jbender0/transformers-php

Tags

0.6.2

Toggle 0.6.2's commit message
Update ZeroShotClassificationPipeline.php

0.6.1

Toggle 0.6.1's commit message
chore(ci): clean up distribution directory after artifact creation in…

… release workflow

[skip ci]

0.6.0

Toggle 0.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Revamp model internals, unify generation flow, and extend platform su…

…pport (CodeWithKyrian#89)

This PR delivers a major refactor focused on simplifying the generation
pipeline, improving cross-platform native support, extending model
capabilities, and enhancing overall maintainability.

### Highlights:
- Stopping Criteria: Added `MaxLength`, `MaxTime`, `EosToken` and
`Interruptable` criteria for better generation control.
- PretrainedConfig: Introduced base config to reduce boilerplate across
model files.
- Platform Package: Converted to platform-package with dynamic loading
support for Linux, macOS, and Windows (x86_64 & ARM64).
- Optimized FFI: Cleaned up FFI bindings for better reliability and
developer ergonomics.
- AutoModel Refactor: Unified resolution logic to prioritize generic
models and avoid accidental task-specific selection.
- New Model Support: Added Gemma, Qwen3, Phi, and other language models.
- Introduced token-per-second (TPS) benchmarking
- Improved logits processors and model session handling
- Enhanced Audio/Image Utilities: Upgraded constructors and added better
error handling.
- Refactored `BPEModel` to support new merge format
- PSR-3 Logging: Logging support throughout the codebase, now defaults
to NullLogger
- Added full inference and utility test coverage
- Bumped shared library versions -onnxruntime and rindowmatlib
- Updated documentation and examples

Resolves CodeWithKyrian#88
Resolves CodeWithKyrian#29 

No known breaking changes.

0.5.3

Toggle 0.5.3's commit message
feat: Update VERSION

0.5.2

Toggle 0.5.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Obviate the need for autoload.php in establishing library base path (C…

…odeWithKyrian#65)

* Obviate the need for autoload.php in establishing library base path

* Avoid platform specific delimiters and .. references

---------

Co-authored-by: Tim Whitlock <noreply@timwhitlock.info>

0.5.1

Toggle 0.5.1's commit message
feat: Bump VERSION

0.5.0

Toggle 0.5.0's commit message
fix: Update VERSION file to 0.5.0

0.4.4

Toggle 0.4.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add optional host argument for model download (CodeWithKyrian#56)

* feat(download-model): add optional host argument for model download

* feat: update optional host argument documentation for model download

---------

Co-authored-by: Kyrian Obikwelu <koshnawaza@gmail.com>

0.4.3

Toggle 0.4.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request CodeWithKyrian#53 from CodeWithKyrian/52-is-size_d…

…ivisibility-supported

feat: implement enforce size divisibility for image feature extractor

0.4.2

Toggle 0.4.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request CodeWithKyrian#41 from CodeWithKyrian/40-problem-w…

…ith-curl-request-in-downloaderphp

bugfix: Repository url resolution not working properly in Windows