Dataset Viewer
Auto-converted to Parquet Duplicate
repo
stringlengths
7
90
commit_sha
stringlengths
40
40
message
stringlengths
20
512
patch
stringlengths
100
16.4k
files
listlengths
1
5
language
stringclasses
1 value
retrieved_at
stringlengths
27
27
truncated
bool
1 class
search_filtered
bool
1 class
deepseek-ai/DeepSeek-V3
8f1c9488b53068992f9525fab03b1868e6f7c8c1
handle missing scale_inv_name
diff --git a/inference/fp8_cast_bf16.py b/inference/fp8_cast_bf16.py index fb9fe00..1b9735a 100644 --- a/inference/fp8_cast_bf16.py +++ b/inference/fp8_cast_bf16.py @@ -16,32 +16,58 @@ def main(fp8_path, bf16_path): with open(model_index_file, "r") as f: model_index = json.load(f) weight_map = model_...
[ "inference/fp8_cast_bf16.py" ]
python
2026-01-24T07:31:12.232416Z
false
true
deepseek-ai/DeepSeek-V3
8710ec2ecbe060b453b4f633e386898aba3a0cec
require model-parallel in convert.py
diff --git a/inference/convert.py b/inference/convert.py index 9a7ea90..f6fb5e2 100644 --- a/inference/convert.py +++ b/inference/convert.py @@ -78,7 +78,7 @@ if __name__ == "__main__": parser.add_argument("--hf-ckpt-path", type=str, required=True) parser.add_argument("--save-path", type=str, required=True) ...
[ "inference/convert.py" ]
python
2026-01-24T07:31:12.232416Z
false
true
openai/whisper
834f00a0ea7521239df548009567b3a507c9b166
making small model the default
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index d995248..37d34d6 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -229,13 +229,13 @@ def cli(): parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument("audio", nargs="+", t...
[ "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
deepseek-ai/DeepSeek-V3
a1296f099e2c05699d4f670de1cb147fc7444dc8
Enhance documentation and update .gitignore for model conversion scripts
diff --git a/inference/convert.py b/inference/convert.py index f6fb5e2..c606ce8 100644 --- a/inference/convert.py +++ b/inference/convert.py @@ -31,6 +31,18 @@ mapping = { def main(hf_ckpt_path, save_path, n_experts, mp): + """ + Converts and saves model checkpoint files into a specified format. + + Args:...
[ "inference/convert.py", "inference/fp8_cast_bf16.py", "inference/generate.py", "inference/kernel.py" ]
python
2026-01-24T07:31:12.232416Z
false
true
openai/whisper
759e8d47a8c56ee4a8c5ece1aaf6e60e60df8dd4
Fix output_dir argument when audio file is a path
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index 37d34d6..a795f73 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -286,12 +286,14 @@ def cli(): **args, ) + audio_basename = os.path.basename(audio_path) + # save TXT - with open(os.path.join...
[ "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
c85eaaae293366fb1ac6a4e1c06cb374e4c341de
Use UTF-8 encoding to save the txt and vtt files
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index a795f73..0ee42a8 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -289,11 +289,11 @@ def cli(): audio_basename = os.path.basename(audio_path) # save TXT - with open(os.path.join(output_dir, audio_basename + ".tx...
[ "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
59f543e2188ca5846d3595479f78ce1c2be2bfa2
Fix exception cause in audio.py
diff --git a/whisper/audio.py b/whisper/audio.py index aced188..cb4eed2 100644 --- a/whisper/audio.py +++ b/whisper/audio.py @@ -44,7 +44,7 @@ def load_audio(file: str, sr: int = SAMPLE_RATE): .run(cmd="ffmpeg", capture_stdout=True, capture_stderr=True) ) except ffmpeg.Error as e: - ra...
[ "whisper/audio.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
f296bcd3fac41525f1c5ab467062776f8e13e4d0
Avoid keeping redundant copies of model weights in memory during load
diff --git a/whisper/__init__.py b/whisper/__init__.py index e596887..dd2629a 100644 --- a/whisper/__init__.py +++ b/whisper/__init__.py @@ -27,12 +27,11 @@ _MODELS = { } -def _download(url: str, root: str) -> bytes: +def _download(url: str, root: str, in_memory: bool) -> Union[bytes, str]: os.makedirs(root, ...
[ "whisper/__init__.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
microsoft/markitdown
2eab564c4cfdf0dfef858a3e02fb1c5d0fd055d2
Fix continue trying on errors.
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index 255337f..a0c479e 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -11,6 +11,7 @@ import shutil import subprocess import sys import tempfile +import traceback from typing import Any, Dict, List, Optional...
[ "src/markitdown/_markitdown.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
openai/whisper
61989529b7e25762ac65c79d251d872397975db1
Fix possible mistake when loading model to device
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index 0ee42a8..7000cfa 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -273,7 +273,7 @@ def cli(): temperature = [temperature] from . import load_model - model = load_model(model_name).to(device) + model = load_model(mode...
[ "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
microsoft/markitdown
cc0a039bb06c0445cec00583531880b3f5bfe60e
Small fixes for the filesurfer.
diff --git a/src/markitdown/__init__.py b/src/markitdown/__init__.py index 81ab842..482f428 100644 --- a/src/markitdown/__init__.py +++ b/src/markitdown/__init__.py @@ -2,8 +2,10 @@ # # SPDX-License-Identifier: MIT -from ._markitdown import MarkItDown +from ._markitdown import MarkItDown, FileConversionException, U...
[ "src/markitdown/__init__.py", "src/markitdown/_markitdown.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
deepseek-ai/DeepSeek-V3
2756e130c2430eedc916ca331f5e360b519ed7ab
clarify assertion error
diff --git a/inference/convert.py b/inference/convert.py index c606ce8..6d85ccc 100644 --- a/inference/convert.py +++ b/inference/convert.py @@ -60,7 +60,7 @@ def main(hf_ckpt_path, save_path, n_experts, mp): name = name.replace("weight_scale_inv", "scale") name = name.replace("e_score...
[ "inference/convert.py", "inference/generate.py", "inference/kernel.py", "inference/model.py" ]
python
2026-01-24T07:31:12.232416Z
false
true
openai/whisper
15ab54826343c27cfaf44ce31e9c8fb63d0aa775
nocaptions -> nospeech to match the paper figure
diff --git a/whisper/decoding.py b/whisper/decoding.py index fa8cf2d..bd63228 100644 --- a/whisper/decoding.py +++ b/whisper/decoding.py @@ -108,7 +108,7 @@ class DecodingResult: tokens: List[int] = field(default_factory=list) text: str = "" avg_logprob: float = np.nan - no_caption_prob: float = np.na...
[ "whisper/decoding.py", "whisper/tokenizer.py", "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
8cf36f3508c9acd341a45eb2364239a3d81458b9
allow hyphens and single quotes between words
diff --git a/whisper/tokenizer.py b/whisper/tokenizer.py index 5ae691d..88142c4 100644 --- a/whisper/tokenizer.py +++ b/whisper/tokenizer.py @@ -245,9 +245,7 @@ class Tokenizer: keeping basic punctuations like commas, periods, question marks, exclamation points, etc. """ - - result = set() - ...
[ "whisper/tokenizer.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
2d3032de014c514d5c029baccb898b5342463674
improved warning message for English-only models
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index 5d1ead7..52b27eb 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -257,7 +257,7 @@ def cli(): device: str = args.pop("device") os.makedirs(output_dir, exist_ok=True) - if model_name.endswith(".en") and args["language"] != "...
[ "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
5d8d3e75a4826fe5f01205d81c3017a805fc2bf9
add --condition_on_previous_text
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index 52b27eb..0975c39 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -24,6 +24,7 @@ def transcribe( compression_ratio_threshold: Optional[float] = 2.4, logprob_threshold: Optional[float] = -1.0, no_speech_threshold: Optional[f...
[ "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
deepseek-ai/DeepSeek-V3
6a30b43249a5710a3adb18c11763222d3fca8756
Fix Linear Layer Bias Initialization
diff --git a/inference/model.py b/inference/model.py index 9ea60c9..cd83bc6 100644 --- a/inference/model.py +++ b/inference/model.py @@ -185,7 +185,7 @@ class Linear(nn.Module): else: self.register_parameter("scale", None) if bias: - self.bias = nn.Parameter(torch.empty(self.pa...
[ "inference/model.py" ]
python
2026-01-24T07:31:12.232416Z
false
true
openai/whisper
9e7e418ff1e7a9f1c5f72a753385c683ff57b967
add progress bar for transcribe loop
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index 0975c39..4c2123e 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -5,6 +5,7 @@ from typing import List, Optional, Tuple, Union, TYPE_CHECKING import numpy as np import torch +import tqdm from .audio import SAMPLE_RATE, N_FRAMES, HO...
[ "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
ead77fab97e3abaec98a29e28f70874d619670e8
add srt subtitle export utility
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index 4c2123e..82a7056 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -10,7 +10,7 @@ import tqdm from .audio import SAMPLE_RATE, N_FRAMES, HOP_LENGTH, pad_or_trim, log_mel_spectrogram from .decoding import DecodingOptions, DecodingResult f...
[ "whisper/transcribe.py", "whisper/utils.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
520796a34c46f7e6c56a65b50d9c6e09e2637b5d
fix token suppression
diff --git a/whisper/decoding.py b/whisper/decoding.py index bd63228..891aaa4 100644 --- a/whisper/decoding.py +++ b/whisper/decoding.py @@ -537,8 +537,7 @@ class DecodingTask: elif suppress_tokens is None or len(suppress_tokens) == 0: suppress_tokens = [] # interpret empty string as an empty lis...
[ "whisper/decoding.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
nvbn/thefuck
8e5cc9d73a08acafef64848a81fd63cbc89e8490
Add command not found handler
diff --git a/setup.py b/setup.py index 783d903..fb680ea 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup(name='thefuck', - version=1.0, + version=1.1, description="Magnificent app which corrects your previous console command", author='Vl...
[ "setup.py", "tests/rules/test_no_command.py", "thefuck/main.py", "thefuck/rules/no_command.py" ]
python
2026-01-24T07:31:12.237914Z
false
true
openai/whisper
fc0f40981ded1c74db4ce57878b4d7f56fec1b9c
Write each sentence as a separate line for the txt output
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index 82a7056..8f34b0e 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -10,7 +10,7 @@ import tqdm from .audio import SAMPLE_RATE, N_FRAMES, HOP_LENGTH, pad_or_trim, log_mel_spectrogram from .decoding import DecodingOptions, DecodingResult f...
[ "whisper/transcribe.py", "whisper/utils.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
deepseek-ai/DeepSeek-V3
4a65fd9221103ff03864337453c238e65d1f4a1b
fix an args description.
diff --git a/inference/kernel.py b/inference/kernel.py index ae907ad..ba18dca 100644 --- a/inference/kernel.py +++ b/inference/kernel.py @@ -87,7 +87,7 @@ def weight_dequant(x: torch.Tensor, s: torch.Tensor, block_size: int = 128) -> t Args: x (torch.Tensor): The quantized weight tensor of shape (M, N)....
[ "inference/kernel.py" ]
python
2026-01-24T07:31:12.232416Z
false
true
openai/whisper
9c8183a1790efa6f8c7e47fc9b73131c4b66e153
Use PyTorch as logits transpose for ONNX support
diff --git a/whisper/model.py b/whisper/model.py index 2221570..1b5890f 100644 --- a/whisper/model.py +++ b/whisper/model.py @@ -189,7 +189,7 @@ class TextDecoder(nn.Module): x = block(x, xa, mask=self.mask, kv_cache=kv_cache) x = self.ln(x) - logits = (x @ self.token_embedding.weight.to(...
[ "whisper/model.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
b4308c478217f00436c387694e5e848cc87c7fb5
fix: transcribe verbosity
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index 10233df..f915f79 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -20,7 +20,7 @@ def transcribe( model: "Whisper", audio: Union[str, np.ndarray, torch.Tensor], *, - verbose: bool = False, + verbose: Optional[bool] = N...
[ "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
nvbn/thefuck
173a4300b40653458614c9fdf73ed740289d7357
Fix sudo after npm errors
diff --git a/setup.py b/setup.py index fb680ea..1e40a3f 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup(name='thefuck', - version=1.1, + version=1.2, description="Magnificent app which corrects your previous console command", author='Vl...
[ "setup.py", "tests/rules/test_sudo.py", "thefuck/rules/sudo.py" ]
python
2026-01-24T07:31:12.237914Z
false
true
deepseek-ai/DeepSeek-V3
d29a967601cc772ede6c475870e3b591f2f89c45
modify the explanation of MLA
diff --git a/inference/model.py b/inference/model.py index 8f1ab81..c143e97 100644 --- a/inference/model.py +++ b/inference/model.py @@ -392,7 +392,7 @@ def apply_rotary_emb(x: torch.Tensor, freqs_cis: torch.Tensor) -> torch.Tensor: class MLA(nn.Module): """ - Multi-Headed Attention Layer (MLA). + Multi-H...
[ "inference/model.py" ]
python
2026-01-24T07:31:12.232416Z
false
true
openai/whisper
62fe7f1009a534986ac1d32a4aef8c244d029c28
patience definition to match the paper
diff --git a/whisper/decoding.py b/whisper/decoding.py index 891aaa4..eaedf70 100644 --- a/whisper/decoding.py +++ b/whisper/decoding.py @@ -78,7 +78,7 @@ class DecodingOptions: sample_len: Optional[int] = None # maximum number of tokens to sample best_of: Optional[int] = None # number of independent sam...
[ "whisper/decoding.py", "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
2b0c2971af0ad616ffca0e0df5324b4ce5152914
Don't update duration if last timestamp is same as begin
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index 195ea2e..2623613 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -220,7 +220,7 @@ def transcribe( else: duration = segment_duration timestamps = tokens[timestamp_tokens.nonzero().flatten()] ...
[ "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
microsoft/markitdown
52b723724c33b76cf3a2ee1e4d636ee81312e388
Fix character decoding issues with text-like files
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index 96997cf..25786f6 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -26,6 +26,7 @@ import pptx import puremagic import requests from bs4 import BeautifulSoup +from charset_normalizer import from_path # ...
[ "src/markitdown/_markitdown.py", "tests/test_markitdown.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
microsoft/markitdown
93130b5ba5b055251a285f9cd055be190f672cb2
Add PPTX chart support
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index 96997cf..17c9dab 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -582,6 +582,11 @@ class PptxConverter(HtmlConverter): "\n" + self._convert(html_table).text_content.strip() + "\n" ...
[ "src/markitdown/_markitdown.py", "tests/test_markitdown.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
openai/whisper
7cb4cc21bf58907914310e7c38523258728bb048
allowing nonzero initial temperature
diff --git a/whisper/decoding.py b/whisper/decoding.py index eaedf70..c604631 100644 --- a/whisper/decoding.py +++ b/whisper/decoding.py @@ -94,7 +94,7 @@ class DecodingOptions: # timestamp sampling options without_timestamps: bool = False # use <|notimestamps|> to sample text tokens only - ...
[ "whisper/decoding.py", "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
nvbn/thefuck
e7b377a3105d1b3d59e5e8b4882a325b9909fe21
Add handler for "is not a git command"
diff --git a/setup.py b/setup.py index 1e40a3f..a95ba45 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup(name='thefuck', - version=1.2, + version=1.3, description="Magnificent app which corrects your previous console command", author='Vl...
[ "setup.py", "tests/rules/test_git_not_command.py", "thefuck/rules/git_not_command.py", "thefuck/rules/no_command.py" ]
python
2026-01-24T07:31:12.237914Z
false
true
openai/whisper
60132ade70e00b843d93542fcb37b58c0d8bf9e7
Use , character instead of . for SRT output.
diff --git a/whisper/utils.py b/whisper/utils.py index b63ade7..1e35471 100644 --- a/whisper/utils.py +++ b/whisper/utils.py @@ -27,7 +27,7 @@ def compression_ratio(text) -> float: return len(text) / len(zlib.compress(text.encode("utf-8"))) -def format_timestamp(seconds: float, always_include_hours: bool = Fal...
[ "whisper/utils.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
microsoft/markitdown
0704b0b6ffe8906e463d1897657e938406e1d185
pass 'style_map' kwarg to mammoth when converting docx
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index 96997cf..e3b028e 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -492,7 +492,9 @@ class DocxConverter(HtmlConverter): result = None with open(local_path, "rb") as docx_file: - ...
[ "src/markitdown/_markitdown.py", "tests/test_markitdown.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
openai/whisper
0b1ba3d46ebf7fe6f953acfd8cad62a4f851b49f
Add model_dir to arguments
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index f970299..7b6105b 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -249,6 +249,7 @@ def cli(): parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument("audio", nargs="+", type=...
[ "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
microsoft/markitdown
0a7203b87653edf990e68e3d07e492625f35fe5e
add style_map prop to MarkItDown class
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index e3b028e..f4487b6 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -856,6 +856,7 @@ class MarkItDown: requests_session: Optional[requests.Session] = None, mlm_client: Optional[Any] = None, ...
[ "src/markitdown/_markitdown.py", "tests/test_markitdown.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
openai/whisper
02b74308fff49aa0d5dd603faefa76d2edd8d56b
Fix timestamps and strip extraneous whitespace in WebVTT output
diff --git a/whisper/utils.py b/whisper/utils.py index 1e35471..87c91f2 100644 --- a/whisper/utils.py +++ b/whisper/utils.py @@ -40,7 +40,7 @@ def format_timestamp(seconds: float, always_include_hours: bool = False, decimal seconds = milliseconds // 1_000 milliseconds -= seconds * 1_000 - hours_marker = ...
[ "whisper/utils.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
deepseek-ai/DeepSeek-V3
b15f0dbbbe6a4bc403306175698439ef380f5fb5
support scale_fmt=ue8m0
diff --git a/inference/kernel.py b/inference/kernel.py index ba18dca..e12ad48 100644 --- a/inference/kernel.py +++ b/inference/kernel.py @@ -1,4 +1,4 @@ -from typing import Tuple +from typing import Tuple, Optional import torch import triton @@ -7,7 +7,7 @@ from triton import Config @triton.jit -def act_quant_...
[ "inference/kernel.py", "inference/model.py" ]
python
2026-01-24T07:31:12.232416Z
false
true
microsoft/markitdown
b7f5662ffdebdbcf0d7ccacffc9c1bdadc9f58d0
PR: Catching pydub's warning of ffmpeg or avconv missing
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index 96997cf..0d77091 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -14,6 +14,7 @@ import tempfile import traceback from typing import Any, Dict, List, Optional, Union from urllib.parse import parse_qs, qu...
[ "src/markitdown/_markitdown.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
openai/whisper
9e653bd0ea0f1e9493cb4939733e9de249493cfb
Fixed CoW RuntimeError in DecodingTask.run()
diff --git a/whisper/decoding.py b/whisper/decoding.py index c604631..ed8d900 100644 --- a/whisper/decoding.py +++ b/whisper/decoding.py @@ -615,7 +615,7 @@ class DecodingTask: n_audio: int = mel.shape[0] audio_features: Tensor = self._get_audio_features(mel) # encoder forward pass - tokens:...
[ "whisper/decoding.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
deepseek-ai/DeepSeek-V3
82f6008c8c6a69459d0d949cef75b8fc70096460
fix act_quant_kernel
diff --git a/inference/kernel.py b/inference/kernel.py index e12ad48..57832ad 100644 --- a/inference/kernel.py +++ b/inference/kernel.py @@ -23,8 +23,7 @@ def act_quant_kernel(x_ptr, y_ptr, s_ptr, BLOCK_SIZE: tl.constexpr, scale_fmt: t pid = tl.program_id(axis=0) offs = pid * BLOCK_SIZE + tl.arange(0, BLOCK_S...
[ "inference/kernel.py" ]
python
2026-01-24T07:31:12.232416Z
false
true
openai/whisper
35713c66e087b5d6fdf8207c6099f6a391bf32b0
Add --threads option to transcribe
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index 7b6105b..cee91f0 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -261,7 +261,7 @@ def cli(): parser.add_argument("--best_of", type=optional_int, default=5, help="number of candidates when sampling with non-zero temperature") pa...
[ "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
deepseek-ai/DeepSeek-V3
adecc0efbe2fda18945734168fce6e0df0d804c3
fix rmsnorm and act_quant_kernel
diff --git a/inference/kernel.py b/inference/kernel.py index 57832ad..22afc92 100644 --- a/inference/kernel.py +++ b/inference/kernel.py @@ -23,7 +23,8 @@ def act_quant_kernel(x_ptr, y_ptr, s_ptr, BLOCK_SIZE: tl.constexpr, scale_fmt: t pid = tl.program_id(axis=0) offs = pid * BLOCK_SIZE + tl.arange(0, BLOCK_S...
[ "inference/kernel.py", "inference/model.py" ]
python
2026-01-24T07:31:12.232416Z
false
true
openai/whisper
82725cea9c339cdc3a2004a622bba766b1871945
infer download_root from XDG_CACHE_HOME if avail
diff --git a/whisper/__init__.py b/whisper/__init__.py index dd2629a..9fbcc79 100644 --- a/whisper/__init__.py +++ b/whisper/__init__.py @@ -90,7 +90,10 @@ def load_model(name: str, device: Optional[Union[str, torch.device]] = None, dow if device is None: device = "cuda" if torch.cuda.is_available() else ...
[ "whisper/__init__.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
microsoft/markitdown
c168703d5e32d1e920945c1e3dda3a0c0f76eb27
Pass the kwargs to _convert method when converting an url file
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index 96997cf..0866dac 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -1003,7 +1003,7 @@ class MarkItDown: self._append_ext(extensions, g) # Convert - result = self._c...
[ "src/markitdown/_markitdown.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
openai/whisper
d18e9ea5dd2ca57c697e8e55f9e654f06ede25d0
transcribe() on English-only model won't complain when language="en" is not given
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index cee91f0..654f7b4 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -84,13 +84,16 @@ def transcribe( mel = log_mel_spectrogram(audio) if decode_options.get("language", None) is None: - if verbose: - print("Dete...
[ "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
nvbn/thefuck
1503dcf294cd59f345b1ded6d24e0691f9414d32
Make `no_command` work only when apt available
diff --git a/tests/rules/test_no_command_apt.py b/tests/rules/test_no_command_apt.py new file mode 100644 index 0000000..c3356df --- /dev/null +++ b/tests/rules/test_no_command_apt.py @@ -0,0 +1,55 @@ +from subprocess import PIPE +from mock import patch, Mock +import pytest +from thefuck.rules.no_command_apt import mat...
[ "tests/rules/test_no_command_apt.py", "thefuck/rules/no_command_apt.py", "thefuck/utils.py" ]
python
2026-01-24T07:31:12.237914Z
false
true
microsoft/markitdown
695100d5d83e62be9810216756d9e7012b22a12e
Support specifying YouTube transcript language
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index 96997cf..645d230 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -344,8 +344,11 @@ class YouTubeConverter(DocumentConverter): assert isinstance(params["v"][0], str) video_...
[ "src/markitdown/_markitdown.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
openai/whisper
7f3e408e092e73d472036ae2e3fba1e7c68ca4e6
Add package metadata to setup.py
diff --git a/setup.py b/setup.py index a6d1fce..13f341e 100644 --- a/setup.py +++ b/setup.py @@ -7,8 +7,12 @@ setup( name="whisper", py_modules=["whisper"], version="1.0", - description="", + description="Robust Speech Recognition via Large-Scale Weak Supervision", + readme="README.md", + pyt...
[ "setup.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
9f70a352f9f8630ab3aa0d06af5cb9532bd8c21d
Fix attention caching to make it actually work
diff --git a/whisper/model.py b/whisper/model.py index 1b5890f..b3b6844 100644 --- a/whisper/model.py +++ b/whisper/model.py @@ -72,15 +72,15 @@ class MultiHeadAttention(nn.Module): ): q = self.query(x) - if kv_cache is None or xa is None: + if kv_cache is None or xa is None or self.key no...
[ "whisper/model.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
nvbn/thefuck
1de9c5f77b4eab61f55d421e8baee07c0dc6f88d
Add information about writting yourself rules, revert no_command changes
diff --git a/setup.py b/setup.py index a90af29..c7ed850 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup(name='thefuck', - version=1.3, + version=1.4, description="Magnificent app which corrects your previous console command", author='Vl...
[ "setup.py", "tests/rules/test_no_command.py", "thefuck/rules/no_command.py", "thefuck/utils.py" ]
python
2026-01-24T07:31:12.237914Z
false
true
openai/whisper
76148a56c56d4a5869335d5b5b478c293d4d1910
suppress generating non-timestamp tokens at the beginning
diff --git a/whisper/decoding.py b/whisper/decoding.py index ed8d900..bb70cc0 100644 --- a/whisper/decoding.py +++ b/whisper/decoding.py @@ -423,10 +423,14 @@ class ApplyTimestampRules(LogitFilter): else: # cannot be normal text tokens logits[k, : self.tokenizer.eot] = -np.inf -...
[ "whisper/decoding.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
02aa851a4910201f0db56960064d7e121a01002c
fix to return only the text token ids
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index 654f7b4..a4c3326 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -157,7 +157,7 @@ def transcribe( "start": start, "end": end, "text": text, - "tokens": result.tokens, + ...
[ "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
eff383b27b783e280c089475852ba83f20f64998
invoking __call__ instead of forward()
diff --git a/whisper/model.py b/whisper/model.py index b3b6844..ca3928e 100644 --- a/whisper/model.py +++ b/whisper/model.py @@ -214,10 +214,10 @@ class Whisper(nn.Module): ) def embed_audio(self, mel: torch.Tensor): - return self.encoder.forward(mel) + return self.encoder(mel) def ...
[ "whisper/model.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
ec1b34bb90dc2822ce4ebac23970b84dbb03ec6c
fix compression ratio function
diff --git a/whisper/utils.py b/whisper/utils.py index 87c91f2..233d3d4 100644 --- a/whisper/utils.py +++ b/whisper/utils.py @@ -24,7 +24,8 @@ def optional_float(string): def compression_ratio(text) -> float: - return len(text) / len(zlib.compress(text.encode("utf-8"))) + text_bytes = text.encode("utf-8") + ...
[ "whisper/utils.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
microsoft/markitdown
a3208f2bd059997634a7a1a5b0115b0a730b7bdd
feat: Add IpynbConverter
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index 96997cf..746e557 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -390,6 +390,63 @@ class YouTubeConverter(DocumentConverter): return ret return None +class IpynbConverte...
[ "src/markitdown/_markitdown.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
nvbn/thefuck
11cbb9e1f7c0009b9272426bf2c0f1b481a2dc3e
Print out the fucking command before running it
diff --git a/thefuck/main.py b/thefuck/main.py index 91d5974..2e0ddc6 100644 --- a/thefuck/main.py +++ b/thefuck/main.py @@ -71,6 +71,7 @@ def get_matched_rule(command, rules, settings): def run_rule(rule, command, settings): """Runs command from rule for passed command.""" new_command = rule.get_new_command...
[ "thefuck/main.py" ]
python
2026-01-24T07:31:12.237914Z
false
true
openai/whisper
fd8f80c8b880dd7c284c109ca7f03dbe978bc532
Explicitly closing model file after reading it
diff --git a/whisper/__init__.py b/whisper/__init__.py index ba3ea13..f80fe72 100644 --- a/whisper/__init__.py +++ b/whisper/__init__.py @@ -39,7 +39,8 @@ def _download(url: str, root: str, in_memory: bool) -> Union[bytes, str]: raise RuntimeError(f"{download_target} exists and is not a regular file") i...
[ "whisper/__init__.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
microsoft/markitdown
ed651aeb16bb858c6aead0a4b091a548c67d9e17
Fix LLM terminology in code
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index 96997cf..f46dd3f 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -754,7 +754,7 @@ class Mp3Converter(WavConverter): class ImageConverter(MediaConverter): """ - Converts images to markdown via ex...
[ "src/markitdown/_markitdown.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
nvbn/thefuck
99e418f852f5e6e5269cbe31cf6e7329feba379c
Added rule for misspelled cd.. command
diff --git a/thefuck/rules/cd_parent.py b/thefuck/rules/cd_parent.py new file mode 100644 index 0000000..fdeb692 --- /dev/null +++ b/thefuck/rules/cd_parent.py @@ -0,0 +1,14 @@ +# Adds the missing space between the cd command and the target directory +# when trying to cd to the parent directory. +# +# Does not really s...
[ "thefuck/rules/cd_parent.py" ]
python
2026-01-24T07:31:12.237914Z
false
true
openai/whisper
b9265e5796f5d80c18d1f9231ab234225676780b
Update Hebrew language code to he per IANA registry
diff --git a/whisper/tokenizer.py b/whisper/tokenizer.py index 88142c4..a27cb35 100644 --- a/whisper/tokenizer.py +++ b/whisper/tokenizer.py @@ -28,7 +28,7 @@ LANGUAGES = { "hi": "hindi", "fi": "finnish", "vi": "vietnamese", - "iw": "hebrew", + "he": "hebrew", "uk": "ukrainian", "el": "gr...
[ "whisper/tokenizer.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
microsoft/markitdown
33638f1fe6d380a888f7d9bf5119dba965fba3c3
feature: add argument parsing and setup.py file for cli tool capability
diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..7d3e311 --- /dev/null +++ b/setup.py @@ -0,0 +1,31 @@ +from setuptools import setup, find_packages + +setup( + name='markitdown', + version='0.1.0', + package_dir={'': 'src'}, + packages=find_packages(where='src'), + install_requires=[ ...
[ "setup.py", "src/markitdown/__main__.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
nvbn/thefuck
2e91158091a9deb506fc369d46ca7f34119371f2
Fixed UnicodeDecodeError
diff --git a/thefuck/main.py b/thefuck/main.py index 6b37841..8ef9287 100644 --- a/thefuck/main.py +++ b/thefuck/main.py @@ -57,8 +57,8 @@ def get_command(args): """Creates command from `args` and executes it.""" script = ' '.join(args[1:]) result = Popen(script, shell=True, stdout=PIPE, stderr=PIPE) - ...
[ "thefuck/main.py" ]
python
2026-01-24T07:31:12.237914Z
false
true
openai/whisper
68e44bd83ce6c3e352f74b266aa39d8b649af9e3
saving the qk matrix in the attention module for convenience
diff --git a/whisper/model.py b/whisper/model.py index ca3928e..820d3c1 100644 --- a/whisper/model.py +++ b/whisper/model.py @@ -62,6 +62,7 @@ class MultiHeadAttention(nn.Module): self.key = Linear(n_state, n_state, bias=False) self.value = Linear(n_state, n_state) self.out = Linear(n_state, ...
[ "whisper/model.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
openai/whisper
53807677fe8bc892fe0fff970e8b24ddd3848596
MultiHeadAttention to return qk as well
diff --git a/whisper/model.py b/whisper/model.py index ca3928e..be73a4a 100644 --- a/whisper/model.py +++ b/whisper/model.py @@ -82,8 +82,8 @@ class MultiHeadAttention(nn.Module): k = kv_cache[self.key] v = kv_cache[self.value] - wv = self.qkv_attention(q, k, v, mask) - return ...
[ "whisper/model.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
nvbn/thefuck
14f0817a9920196019990eb5f079d23d43059494
added support for FreeBSD/PCBSD 'pkg' to sudo rule
diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index 4753726..4fa1012 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -1,6 +1,7 @@ def match(command, settings): return ('permission denied' in command.stderr.lower() - or 'EACCES' in command.stderr) + or 'EACCES' ...
[ "thefuck/rules/sudo.py" ]
python
2026-01-24T07:31:12.237914Z
false
true
TheAlgorithms/Python
b1b4bdaecddde492a9cca441b9c236ba16ee1d01
Changed extention of previous files and added Selection sort
diff --git a/BubbleSort.py b/BubbleSort.py new file mode 100644 index 00000000..5a038885 --- /dev/null +++ b/BubbleSort.py @@ -0,0 +1,26 @@ + + +array=[]; + +# input +print ("Enter any 6 Numbers for Unsorted Array : "); +for i in range(0, 6): + n=input(); + array.append(int(n)); + +# Sorting +print("") +for i in range(...
[ "BubbleSort.py", "InsertionSort.py", "SelectionSort.py" ]
python
2026-01-24T07:31:12.055594Z
false
true
openai/whisper
70861c7ce3d2e94269c2d4d8e0caf30614c7cb63
Fix tiny transcribe() docstring typo
diff --git a/whisper/transcribe.py b/whisper/transcribe.py index a4c3326..c76b5c2 100644 --- a/whisper/transcribe.py +++ b/whisper/transcribe.py @@ -44,7 +44,7 @@ def transcribe( If False, displays minimal details. If None, does not display anything temperature: Union[float, Tuple[float, ...]] - ...
[ "whisper/transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
nvbn/thefuck
de343b84c1a58831fd711b1d70405aa574ae180a
improve no_command rule
diff --git a/tests/rules/test_no_command.py b/tests/rules/test_no_command.py index 5598378..8572785 100644 --- a/tests/rules/test_no_command.py +++ b/tests/rules/test_no_command.py @@ -39,7 +39,7 @@ def test_match(command_found, command_not_found, settings): with patch('thefuck.rules.no_command.Popen') as Popen: ...
[ "tests/rules/test_no_command.py", "thefuck/rules/no_command.py" ]
python
2026-01-24T07:31:12.237914Z
false
true
openai/whisper
6df3ea1fb55dc75ce26f4f73e75d8644ca396414
Support batch-dimension in log_mel_spectogram
diff --git a/whisper/audio.py b/whisper/audio.py index a3d8a13..de8a195 100644 --- a/whisper/audio.py +++ b/whisper/audio.py @@ -113,7 +113,7 @@ def log_mel_spectrogram(audio: Union[str, np.ndarray, torch.Tensor], n_mels: int window = torch.hann_window(N_FFT).to(audio.device) stft = torch.stft(audio, N_FFT,...
[ "whisper/audio.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
TheAlgorithms/Python
0b8a494b6225d1133c73e666b0300a039bb2b5e3
Added Binary Search and Modified Linear Search
diff --git a/BinarySeach.py b/BinarySeach.py new file mode 100644 index 00000000..b4828c64 --- /dev/null +++ b/BinarySeach.py @@ -0,0 +1,29 @@ +def binarySearch(alist, item): + + first = 0 + last = len(alist)-1 + found = False + + while first<=last and not found: + + midpoint = (first...
[ "BinarySeach.py", "LinearSearch.py" ]
python
2026-01-24T07:31:12.055594Z
false
true
nvbn/thefuck
34015ef27c59189d3c1191440c245188dc90741d
make sudo rule work with pacman
diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py index 4fa1012..b1566cf 100644 --- a/thefuck/rules/sudo.py +++ b/thefuck/rules/sudo.py @@ -1,6 +1,7 @@ def match(command, settings): return ('permission denied' in command.stderr.lower() or 'EACCES' in command.stderr + or 'error: yo...
[ "thefuck/rules/sudo.py" ]
python
2026-01-24T07:31:12.237914Z
false
true
nvbn/thefuck
9518416a2faf52c17d910726d4186068c50e96fd
Fix creating configuration files/dirs
diff --git a/setup.py b/setup.py index 1cfbcbc..c7775b9 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup(name='thefuck', - version=1.7, + version=1.8, description="Magnificent app which corrects your previous console command", author='Vl...
[ "setup.py", "tests/test_main.py", "thefuck/main.py" ]
python
2026-01-24T07:31:12.237914Z
false
true
microsoft/markitdown
53fad6eb3149eba21fcf1d6d3cbace6e8621a995
feat: add rss converter
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index a7fb28a..579e232 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -13,6 +13,7 @@ import sys import tempfile import traceback import zipfile +from xml.dom import minidom from typing import Any, Dict, Lis...
[ "src/markitdown/_markitdown.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
openai/whisper
b1d213c0c784e04f7f413ae841c4bd352638491d
allow test_transcribe to run on CPU when CUDA is not available
diff --git a/tests/test_transcribe.py b/tests/test_transcribe.py index 836cf40..f5d66c3 100644 --- a/tests/test_transcribe.py +++ b/tests/test_transcribe.py @@ -1,13 +1,15 @@ import os import pytest +import torch import whisper -@pytest.mark.parametrize('model_name', whisper.available_models()) +@pytest.mark...
[ "tests/test_transcribe.py" ]
python
2026-01-24T07:31:12.246634Z
false
true
microsoft/markitdown
7dc2695b9614f16493886bfd7155c490083f180e
feat: support convert atom to markdown
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index 579e232..4f193de 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -221,23 +221,76 @@ class HtmlConverter(DocumentConverter): ) class RSSConverter(DocumentConverter): - """Convert RSS type to ...
[ "src/markitdown/_markitdown.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
nvbn/thefuck
235b31e176405cf8f58349580def4db198251909
Get stderr and stdout with `LANG=C`
diff --git a/tests/test_main.py b/tests/test_main.py index 03b4601..8eb7605 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -46,7 +46,9 @@ def test_get_rules(): def test_get_command(): - with patch('thefuck.main.Popen') as Popen: + with patch('thefuck.main.Popen') as Popen,\ + patch('t...
[ "tests/test_main.py", "thefuck/main.py" ]
python
2026-01-24T07:31:12.237914Z
false
true
microsoft/markitdown
05a49ca129263632a4d21ef46a672def6e5bc53c
fix incorrect comments for "bail if not ..." for WAV and image cases.
diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index a7fb28a..041e56e 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -681,7 +681,7 @@ class WavConverter(MediaConverter): """ def convert(self, local_path, **kwargs) -> Union[None, DocumentConverte...
[ "src/markitdown/_markitdown.py" ]
python
2026-01-24T07:31:12.261501Z
false
true
nvbn/thefuck
b0d353c699df50c0a40d21d1d0a708046af6bb9c
Simplify adding patterns for the `sudo` rule
diff --git a/setup.py b/setup.py index c7775b9..ccc60cf 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup(name='thefuck', - version=1.8, + version=1.9, description="Magnificent app which corrects your previous console command", author='Vl...
[ "setup.py", "thefuck/rules/sudo.py" ]
python
2026-01-24T07:31:12.237914Z
false
true
TheAlgorithms/Python
1794366d03a95410dead20999a0afad84bd32e7a
Cryptography Algorithm
diff --git a/Caesar Cipher.py b/Caesar Cipher.py new file mode 100644 index 00000000..b1342dc5 --- /dev/null +++ b/Caesar Cipher.py @@ -0,0 +1,38 @@ +# The Caesar Cipher Algorithm + +message = input("Enter message: ") +key = int(input("Key [1-26]: ")) +mode = input("Encrypt or Decrypt [e/d]: ") + +if mode.lower().star...
[ "Cipher.py" ]
python
2026-01-24T07:31:12.055594Z
false
true
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
-