iannedev commited on
Commit
305fc2a
·
verified ·
1 Parent(s): 80c945e

v1.2-audio

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
78 files changed +35360 -237
Files changed (50)
.gitattributes+38
CHANGELOG.md+86
CHECKSUMS.sha256+76-14
NOTICE+74-22
README.md+404-87
export/eg2_audio.pyAdded+372
export/export.py+86-12
model/MODEL-ATTRIBUTION.json+6-3
model/config.json+44
model/embeddinggemma-2-audio.aimodel/main.hashAdded+1
model/embeddinggemma-2-audio.aimodel/main.mlirbAdded+3
model/embeddinggemma-2-audio.aimodel/metadata.jsonAdded+8
python/eg2_audio_frontend.pyAdded+373
python/embeddinggemma2_coreai.py+229-44
python/requirements.lock+7-3
python/requirements.txt+5-1
python/smoke_test.py+28-19
swift/Package.swift+7-4
swift/Sources/EmbeddingGemma2CoreAI/AudioDecoder.swiftAdded+104
swift/Sources/EmbeddingGemma2CoreAI/AudioFrontend.swiftAdded+191
swift/Sources/EmbeddingGemma2CoreAI/AudioResampler.swiftAdded+122
swift/Sources/EmbeddingGemma2CoreAI/Embedder.swift+156-8
swift/Sources/EmbeddingGemma2CoreAI/ExactJSON.swift+1-1
swift/Sources/eg2-cli/main.swift+199-19
tests/audio-preprocess-cases.jsonAdded+242
tests/audio-smoke-reference.jsonAdded
The diff for this file is too large to render. See raw diff
tests/audio/edge_silence_1s_16k.wavAdded
Binary file (32 kB). View file
tests/audio/edge_tiny_100smp_16k.wavAdded
Binary file (244 Bytes). View file
tests/audio/edge_tone_10khz_96k.wavAdded+3
tests/audio/long_melody_35s_16k.mp3Added+3
tests/audio/manifest.jsonAdded+162
tests/audio/ref/edge_silence_1s_16k.features.f32Added+1
tests/audio/ref/edge_silence_1s_16k.wave16k.f32Added
Binary file (64 kB). View file
tests/audio/ref/edge_tiny_100smp_16k.features.f32Added
Empty file
tests/audio/ref/edge_tiny_100smp_16k.wave16k.f32Added
Binary file (400 Bytes). View file
tests/audio/ref/edge_tone_10khz_96k.features.f32Added+3
tests/audio/ref/edge_tone_10khz_96k.wave16k.f32Added+3
tests/audio/ref/long_melody_35s_16k.features.f32Added+3
tests/audio/ref/long_melody_35s_16k.wave16k.f32Added+3
tests/audio/ref/sound_birds_rain_16k_stereo.features.f32Added+3
tests/audio/ref/sound_birds_rain_16k_stereo.wave16k.f32Added+3
tests/audio/ref/sound_chirp_siren_48k.features.f32Added+3
tests/audio/ref/sound_chirp_siren_48k.wave16k.f32Added+3
tests/audio/ref/sound_chord_piano_44k_stereo.features.f32Added+3
tests/audio/ref/sound_chord_piano_44k_stereo.wave16k.f32Added+3
tests/audio/ref/sound_clicks_noise_22k.features.f32Added+3
tests/audio/ref/sound_clicks_noise_22k.wave16k.f32Added+3
tests/audio/ref/speech_de_garten_48k_stereo.features.f32Added+3
tests/audio/ref/speech_de_garten_48k_stereo.wave16k.f32Added+3
tests/audio/ref/speech_en_parcel_8k.features.f32Added+3