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

Either -dtw doesn't work as intended or I'm missing something #2148

Open
magnacartatron opened this issue May 14, 2024 · 0 comments
Open

Either -dtw doesn't work as intended or I'm missing something #2148

magnacartatron opened this issue May 14, 2024 · 0 comments

Comments

@magnacartatron
Copy link

I'm testing on large.v2
Here's the command
./main -m models/ggml-large-v2.bin -f samples/jfk.wav -dtw large.v2 -ojf -pp -ls

Here's the JSON output, I've removed timestamps for clarity as they match offsets.

{
	"text": " And",
	"offsets": {
		"from": 320,
		"to": 370
	},
	"id": 400,
	"p": 0.644984,
	"t_dtw": 56
},
{
	"text": " so",
	"offsets": {
		"from": 370,
		"to": 530
	},
	"id": 370,
	"p": 0.904659,
	"t_dtw": 90
},
{
	"text": ",",
	"offsets": {
		"from": 690,
		"to": 860
	},
	"id": 11,
	"p": 0.370488,
	"t_dtw": 108
},
{
	"text": " my",
	"offsets": {
		"from": 860,
		"to": 1110
	},
	"id": 452,
	"p": 0.900208,
	"t_dtw": 124
},
{
	"text": " fellow",
	"offsets": {
		"from": 1110,
		"to": 1850
	},
	"id": 7177,
	"p": 0.814694,
	"t_dtw": 158
},

How is one meant to interpret the t_dtw field. If I don't run it with the -dtw option then it's -1
If I do then I'm seeing these numbers. I've tried every possible combination to figure out how the t_dtw can be used but there's no pattern. Am I missing something here. Even if it's 100ths of a second I'm looking at it still doesn't match up with audio and offsets are more correct.

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

No branches or pull requests

1 participant