forked from argmaxinc/WhisperKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 60f565e
Showing
79 changed files
with
7,751 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
.DS_Store | ||
/.build | ||
/Packages | ||
xcuserdata/ | ||
DerivedData/ | ||
.swiftpm/configuration/registries.json | ||
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata | ||
.swiftpm/xcode/xcshareddata/ | ||
**/*.xcscheme | ||
.netrc | ||
.env | ||
|
||
# Core ML Model Files | ||
Models | ||
**/*.mlpackage | ||
**/*.mlmodel | ||
**/*.mlmodelc | ||
**/*.zip | ||
**/*.tar.gz | ||
|
||
# Audio files (add manually if needed) | ||
**/*.wav | ||
**/*.mp3 | ||
**/*.m4a | ||
**/*.flac | ||
|
||
## Xcode | ||
# Build generated | ||
build/ | ||
DerivedData/ | ||
|
||
# Various settings | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata/ | ||
|
||
# Other | ||
*.moved-aside | ||
*.xccheckout | ||
*.xcscmblueprint | ||
|
||
# Obj-C/Swift specific | ||
*.hmap | ||
*.ipa | ||
*.dSYM.zip | ||
*.dSYM | ||
|
||
# fastlane | ||
fastlane/report.xml | ||
fastlane/Preview.html | ||
fastlane/screenshots | ||
fastlane/test_output | ||
|
||
### Xcode Patch ### | ||
*.xcodeproj/* | ||
!*.xcodeproj/project.pbxproj | ||
!*.xcodeproj/xcshareddata/ | ||
!*.xcworkspace/contents.xcworkspacedata | ||
/*.gcno |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
version: 1 | ||
builder: | ||
configs: | ||
- documentation_targets: [WhisperKit] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Contributing to WhisperKit | ||
|
||
## Overview | ||
We welcome and encourage contributions to WhisperKit! Whether you're fixing bugs, improving documentation, or adding new features from the roadmap, your help is appreciated. This guide will help you get started with contributing to WhisperKit. | ||
|
||
## Getting Started | ||
1. **Fork the Repository**: Start by [forking](https://github.com/argmaxinc/WhisperKit/fork) the WhisperKit repository on GitHub to your personal account. | ||
|
||
2. **Clone Your Fork**: Clone your fork to your local machine to start making changes. | ||
```bash | ||
git clone https://github.com/[your-username]/whisperkit.git | ||
cd whisperkit | ||
``` | ||
|
||
## Setting Up Your Development Environment | ||
1. **Install Dependencies**: Use the provided `Makefile` to set up your environment. Run `make setup` to install necessary dependencies. | ||
```bash | ||
make setup | ||
``` | ||
|
||
2. **Download Models**: Run `make download-models` to download the required models to run and test locally. | ||
```bash | ||
make download-models | ||
``` | ||
|
||
## Making Changes | ||
1. **Make Your Changes**: Implement your changes, add new features, or fix bugs. Ensure you adhere to the existing coding style. If you're adding new features, make sure to update or add any documentation or tests as needed. | ||
|
||
2. **Build and Test**: You can use the `Makefile` to build and test your changes. Run `make build` to build WhisperKit and `make test` to run tests. | ||
```bash | ||
make build | ||
make test | ||
``` | ||
You can also run and test directly from Xcode. We've provided an example app that contains various use cases, just open the `Examples/WhisperAX/WhisperAX.xcodeproj` file in Xcode and run the app. | ||
|
||
## Submitting Your Changes | ||
1. **Commit Your Changes**: Once you're satisfied with your changes, commit them with a clear and concise commit message. | ||
```bash | ||
git commit -am "Add a new feature" | ||
``` | ||
|
||
2. **Push to Your Fork**: Push your changes to your fork on GitHub. | ||
```bash | ||
git push origin my-branch | ||
``` | ||
|
||
3. **Create a Pull Request**: Go to the WhisperKit repository on GitHub and create a new pull request from your fork. Ensure your pull request has a clear title and description. | ||
|
||
4. **Code Review**: Wait for the maintainers to review your pull request. Be responsive to feedback and make any necessary changes. | ||
|
||
## Guidelines | ||
- **Code Style**: Follow the existing code style in the project. | ||
- **Commit Messages**: Write meaningful commit messages that clearly describe the changes. | ||
- **Documentation**: Update documentation if you're adding new features or making changes that affect how users interact with WhisperKit. | ||
- **Tests**: Add or update tests for new features or bug fixes. | ||
|
||
## Final Steps | ||
After your pull request has been reviewed and approved, a maintainer will merge it into the main branch. Congratulations, you've successfully contributed to WhisperKit! | ||
|
||
Thank you for making WhisperKit better for everyone! ❤️🔥 |
Oops, something went wrong.